mirror of
https://github.com/git/git.git
synced 2024-05-23 18:26:08 +02:00
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>
This commit is contained in:
parent
19b2517f95
commit
23f6d40dd3
|
@ -1636,7 +1636,7 @@ sub has_no_changes {
|
||||||
my $commit = shift;
|
my $commit = shift;
|
||||||
|
|
||||||
my @revs = split / /, command_oneline(
|
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,
|
# Commits with no parents, e.g. the start of a partial branch,
|
||||||
# have changes by definition.
|
# have changes by definition.
|
||||||
|
|
Loading…
Reference in New Issue