summaryrefslogtreecommitdiff
path: root/tool/lib/vcs.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2022-06-22 09:33:25 +0900
committerNobuyoshi Nakada <[email protected]>2022-06-22 09:33:25 +0900
commit7fd51c0241f767ebe434c43568a4605cdb692e94 ()
tree8708a973c5720f23fdc99cd771e9cf1a6d39a602 /tool/lib/vcs.rb
parentbc77cda8fd70b3bb2407b7cc612ccb963e5cc876 (diff)
vcs.rb: ignore configuration files get rid of aliases [ci skip]
-rw-r--r--tool/lib/vcs.rb7
1 files changed, 5 insertions, 2 deletions
@@ -460,10 +460,13 @@ class VCS
end
def without_gitconfig
- home = ENV.delete('HOME')
yield
ensure
- ENV['HOME'] = home if home
end
def initialize(*)