diff mbox series

[v3,07/10] git-svn: stop passing "-m" to "git rev-list"

Message ID 20210520214703.27323-8-sorganov@gmail.com (mailing list archive)
State Accepted
Commit 23f6d40dd3e7aad72c7706bb75f77a6c73b69b56
Headers show
Series [v3,01/10] t4013: test that "-m" alone has no effect in "git log" | expand

Commit Message

Sergey Organov May 20, 2021, 9:47 p.m. UTC
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>
---
 perl/Git/SVN.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm
index f6f1dc03c608..35ff5a68963d 100644
--- a/perl/Git/SVN.pm
+++ b/perl/Git/SVN.pm
@@ -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.