diff options
Diffstat (limited to 'svn-git-hash.pl')
-rwxr-xr-x | svn-git-hash.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svn-git-hash.pl b/svn-git-hash.pl index 9e92c655..aacecf81 100755 --- a/svn-git-hash.pl +++ b/svn-git-hash.pl @@ -44,8 +44,7 @@ my ($git, $svn); # Walk the log until the exact (or lower) revision is found open LOG, "git -C \"$BASE\" log|" || die "Can't run git log command: $!\n"; foreach my $line (<LOG>) { - # Make sure we always update git hashes to the latest - # 11 chars, to be easy to compare to git log --pretty=oneline + # Make sure we always update git hashes before SVN id if ($line =~ /^commit ([0-9a-f]+)/) { $git = $1; next; |