]> mj.ucw.cz Git - git-tools.git/blobdiff - update2
Update2: Do not reverse history
[git-tools.git] / update2
diff --git a/update2 b/update2
index e1cf4ef8d5df9fc510dfa953f4fb869fa3244161..46fc4c9f16f3a6619ae38388bc67c1a32db40f57 100755 (executable)
--- a/update2
+++ b/update2
@@ -105,14 +105,14 @@ if ($old =~ /^0+$/) {
                my $pos_after_header = output_size();
 
                # Show individual commits with diffs and stats
-               system 'git', 'log', @rev_list_options, '--reverse', @diff_options, '-p', '--stat', "$old..$new";
+               system 'git', 'log', @rev_list_options, @diff_options, '-p', '--stat', "$old..$new";
 
                # If the file is too long, truncate it and print just a summary
                if (defined($max_diff_size) && output_size() > $max_diff_size) {
                        $out->truncate($pos_after_header);
                        output_size();
                        print $out "Diff was too long, printing just a summary.\n\n";
-                       system 'git', 'log', @rev_list_options, '--reverse', "$old..$new";
+                       system 'git', 'log', @rev_list_options, "$old..$new";
                }
        } elsif ($lca eq $new) {
                # Rewind