@@ -124,7 +124,8 @@ BEGIN
124
124
" Set an SVN repository to a git tree-ish" ,
125
125
{ ' stdin|' => \$_stdin, %cmt_opts , %fc_opts , } ],
126
126
' show-ignore' => [ \&cmd_show_ignore, " Show svn:ignore listings" ,
127
- { ' revision|r=i' => \$_revision } ],
127
+ { ' revision|r=i' => \$_revision
128
+ } ],
128
129
' multi-fetch' => [ \&cmd_multi_fetch,
129
130
" Deprecated alias for $0 fetch --all" ,
130
131
{ ' revision|r=s' => \$_revision, %fc_opts } ],
@@ -144,10 +145,10 @@ BEGIN
144
145
' non-recursive' => \$Git::SVN::Log::non_recursive ,
145
146
' authors-file|A=s' => \$_authors,
146
147
' color' => \$Git::SVN::Log::color ,
147
- ' pager=s' => \$Git::SVN::Log::pager ,
148
+ ' pager=s' => \$Git::SVN::Log::pager
148
149
} ],
149
150
' find-rev' => [ \&cmd_find_rev, " Translate between SVN revision numbers and tree-ish" ,
150
- { } ],
151
+ {} ],
151
152
' rebase' => [ \&cmd_rebase, " Fetch and rebase your working directory" ,
152
153
{ ' merge|m|M' => \$_merge,
153
154
' verbose|v' => \$_verbose,
@@ -811,7 +812,8 @@ sub cmt_metadata {
811
812
812
813
sub working_head_info {
813
814
my ($head , $refs ) = @_ ;
814
- my ($fh , $ctx ) = command_output_pipe(' log' , ' --no-color' , $head );
815
+ my @args = (' log' , ' --no-color' , ' --first-parent' );
816
+ my ($fh , $ctx ) = command_output_pipe(@args , $head );
815
817
my $hash ;
816
818
my %max ;
817
819
while (<$fh >) {
0 commit comments