summaryrefslogtreecommitdiff
path: root/tool/change_maker.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-28 23:59:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-28 23:59:55 +0000
commit2dce743725236e0bdfd99ed005bc6266a2c943b4 (patch)
treeb28bd1041fa96e38b78f203cad39ca2644452282 /tool/change_maker.rb
parent21fbc8f6d37abbe71dc1dd1cf78a4e3bc8bab8d8 (diff)
* tool/change_maker.rb: narrow diffs to see function names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 456260c..a4e4405 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"