git-svn: stop passing "-m" to "git rev-list"

rev-list doesn't utilize -m. It happens to eat it silently, so this
bug went unnoticed.

Signed-off-by: Sergey Organov <sorganov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Sergey Organov 2021-05-21 00:47:00 +03:00 committed by Junio C Hamano
parent 19b2517f95
commit 23f6d40dd3
1 changed files with 1 additions and 1 deletions

View File

@ -1636,7 +1636,7 @@ sub has_no_changes {
my $commit = shift;

my @revs = split / /, command_oneline(
qw(rev-list --parents -1 -m), $commit);
qw(rev-list --parents -1), $commit);

# Commits with no parents, e.g. the start of a partial branch,
# have changes by definition.