Skip to content

Commit

Permalink
Merge branch 'bc/svn-hash-oid-fix'
Browse files Browse the repository at this point in the history
A recent oid->hash conversion missed one spot, breaking "git svn".

* bc/svn-hash-oid-fix:
  svn: use correct variable name for short OID
  • Loading branch information
gitster committed Nov 2, 2020
2 parents f74f5e7 + 03bb366 commit 305fcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perl/Git/SVN/Log.pm
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ sub cmd_show_log {
get_author_info($c, $1, $2, $3);
} elsif (/^${esc_color}(?:tree|parent|committer) /o) {
# ignore
} elsif (/^${esc_color}:\d{6} \d{6} $::sha1_short/o) {
} elsif (/^${esc_color}:\d{6} \d{6} $::oid_short/o) {
push @{$c->{raw}}, $_;
} elsif (/^${esc_color}[ACRMDT]\t/) {
# we could add $SVN->{svn_path} here, but that requires
Expand Down

0 comments on commit 305fcf4

Please sign in to comment.