summaryrefslogtreecommitdiff
path: root/tool/lib/vcs.rb
diff options
context:
space:
mode:
-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(*)