mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/file2lastrev.rb: unset PWD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
aa3665e782
commit
79ccc677e7
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jan 1 06:56:28 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* tool/file2lastrev.rb: unset PWD.
|
||||||
|
|
||||||
Wed Dec 31 23:37:17 2008 Tanaka Akira <akr@fsij.org>
|
Wed Dec 31 23:37:17 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/socket/socket.c (sock_s_socketpair): yield if a block is given.
|
* ext/socket/socket.c (sock_s_socketpair): yield if a block is given.
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
|
ENV['LANG'] = ENV['LC_ALL'] = ENV['LC_MESSAGES'] = 'C'
|
||||||
|
ENV.delete('PWD')
|
||||||
|
|
||||||
require 'optparse'
|
require 'optparse'
|
||||||
require 'pathname'
|
require 'pathname'
|
||||||
|
|
||||||
|
@ -14,7 +17,6 @@ def detect_vcs(path)
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_revisions(path)
|
def get_revisions(path)
|
||||||
ENV['LANG'] = ENV['LC_ALL'] = ENV['LC_MESSAGES'] = 'C'
|
|
||||||
vcs, path = detect_vcs(path)
|
vcs, path = detect_vcs(path)
|
||||||
|
|
||||||
info = case vcs
|
info = case vcs
|
||||||
|
|
Loading…
Add table
Reference in a new issue