summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f95eef1)
raw | patch | inline | side by side (parent: f95eef1)
author | Junio C Hamano <gitster@pobox.com> | |
Fri, 31 Aug 2007 21:29:49 +0000 (14:29 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 1 Sep 2007 06:22:51 +0000 (23:22 -0700) |
If the configuration of the user has "diff.color = true", the
output from "log" we invoke internally added color codes, which
broke the parser.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Tested-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Acked-by: Eric Wong <normalperson@yhbt.net>
output from "log" we invoke internally added color codes, which
broke the parser.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Tested-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index 4e325b771ba136e40b9a420e16f043fbaf5d7bb7..98218dabd993f982fbad02c9467129d9d8303b03 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
sub working_head_info {
my ($head, $refs) = @_;
- my ($fh, $ctx) = command_output_pipe('log', $head);
+ my ($fh, $ctx) = command_output_pipe('log', '--no-color', $head);
my $hash;
my %max;
while (<$fh>) {
return;
}
print "Rebuilding $db_path ...\n";
- my ($log, $ctx) = command_output_pipe("log", $self->refname);
+ my ($log, $ctx) = command_output_pipe("log", '--no-color', $self->refname);
my $latest;
my $full_url = $self->full_url;
remove_username($full_url);