зеркало из https://github.com/github/ruby.git
* 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:
Родитель
21fbc8f6d3
Коммит
2dce743725
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче