aboutsummaryrefslogtreecommitdiffstats
path: root/tool/change_maker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/change_maker.rb')
-rwxr-xr-xtool/change_maker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/change_maker.rb b/tool/change_maker.rb
index 456260cd4c..a4e44057fa 100755
--- a/tool/change_maker.rb
+++ b/tool/change_maker.rb
@@ -22,7 +22,7 @@ if File.directory?(".svn")
cmd = "svn diff --diff-cmd=diff -x-pU0"
change = diff2index(cmd, ARGV)
elsif File.directory?(".git")
- cmd = "git diff"
+ cmd = "git diff -U0"
change = diff2index(cmd, ARGV) || diff2index(cmd, "--cached", ARGV)
else
abort "does not seem to be under a vcs"