From: Ævar Arnfjörð Bjarmason Date: Sun, 12 Feb 2012 00:23:05 +0000 (+0000) Subject: git-svn: remove redundant porcelain option to rev-list X-Git-Tag: v1.7.10-rc0~62^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b380e3a79211f59adf6761968ff76c8d6535f72e git-svn: remove redundant porcelain option to rev-list 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 Acked-by: Eric Wong --- diff --git a/git-svn.perl b/git-svn.perl index eeb83d3759..712eeebe17 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -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;