summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a3c7505)
raw | patch | inline | side by side (parent: a3c7505)
author | Mathias Lafeldt <misfire@debugon.org> | |
Thu, 23 Sep 2010 22:05:03 +0000 (00:05 +0200) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Fri, 24 Sep 2010 16:24:20 +0000 (16:24 +0000) |
The function working_head_info() fails to parse commit hashes if they
are decorated (i.e. log.decorate is true), causing dcommit, rebase, and
other vital git-svn commands to malfunction.
This patch disables decorated log output with --no-decorate.
[ew: wrapped long line]
Signed-off-by: Mathias Lafeldt <misfire@debugon.org>
Acked-by: Eric Wong <normalperson@yhbt.net>
are decorated (i.e. log.decorate is true), causing dcommit, rebase, and
other vital git-svn commands to malfunction.
This patch disables decorated log output with --no-decorate.
[ew: wrapped long line]
Signed-off-by: Mathias Lafeldt <misfire@debugon.org>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index c7c4dcdba50c6c80bbe7b4653923e86ee2046e7d..18cfb2466d11aa28a795e3dabac70e236061fbe9 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
sub working_head_info {
my ($head, $refs) = @_;
- my @args = ('log', '--no-color', '--first-parent', '--pretty=medium');
+ my @args = qw/log --no-color --no-decorate --first-parent
+ --pretty=medium/;
my ($fh, $ctx) = command_output_pipe(@args, $head);
my $hash;
my %max;