From: Martin Mares Date: Fri, 29 Jun 2012 19:51:11 +0000 (+0200) Subject: Update2: Use `git log -p' instead of `--patch' for backward compatibility X-Git-Tag: v1.0~6 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a71a47f9ec43b0f9f37d90b31c26ada76d21f0c0;p=git-tools.git Update2: Use `git log -p' instead of `--patch' for backward compatibility --- diff --git a/update2 b/update2 index 933feaa..5178f9b 100755 --- a/update2 +++ b/update2 @@ -100,7 +100,7 @@ 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, '--patch', '--stat', "$old..$new"; + system 'git', 'log', @rev_list_options, '--reverse', @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) {