mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
21fbc8f6d3
commit
2dce743725
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue