From a71a47f9ec43b0f9f37d90b31c26ada76d21f0c0 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 29 Jun 2012 21:51:11 +0200 Subject: [PATCH] Update2: Use `git log -p' instead of `--patch' for backward compatibility --- update2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2