Code

git-svn: remove redundant porcelain option to rev-list
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 12 Feb 2012 00:23:05 +0000 (00:23 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 21 Feb 2012 21:37:31 +0000 (21:37 +0000)
Change an invocation of git-rev-list(1) to not use --no-color,
git-rev-list(1) will always ignore that option and the --color option,
so there's no need to pass it.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl

index eeb83d375931df81bd87ca285c8d0741c14f33a2..712eeebe17f4fe73c09c66b98012bf97d697a843 100755 (executable)
@@ -3920,7 +3920,7 @@ sub rebuild {
        my ($base_rev, $head) = ($partial ? $self->rev_map_max_norebuild(1) :
                (undef, undef));
        my ($log, $ctx) =
-           command_output_pipe(qw/rev-list --pretty=raw --no-color --reverse/,
+           command_output_pipe(qw/rev-list --pretty=raw --reverse/,
                                ($head ? "$head.." : "") . $self->refname,
                                '--');
        my $metadata_url = $self->metadata_url;