aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/update.sh
diff options
context:
space:
mode:
authorilovezfs2018-01-15 07:30:56 +0000
committerGitHub2018-01-15 07:30:56 +0000
commit17f80a44e63d1fb0cbfc48dc602c62bbc01ad8fa (patch)
tree420625a658a8ad26c25ea4d5240cc27b8ff89a23 /Library/Homebrew/cmd/update.sh
parent253a41f52370a2625a0e2684f7afa85405cdc5d2 (diff)
downloadbrew-17f80a44e63d1fb0cbfc48dc602c62bbc01ad8fa.tar.bz2
Revert "Use Homebrew's gitconfig for various commands"
Diffstat (limited to 'Library/Homebrew/cmd/update.sh')
-rw-r--r--Library/Homebrew/cmd/update.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index c28a79d02..747784527 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -19,11 +19,7 @@ git() {
then
GIT_EXECUTABLE="$("$HOMEBREW_LIBRARY/Homebrew/shims/scm/git" --homebrew=print-path)"
fi
- OLDHOME="$HOME"
- export HOME="$HOMEBREW_LIBRARY/Homebrew/gitconfig"
"$GIT_EXECUTABLE" "$@"
- export HOME="$OLDHOME"
- unset OLDHOME
}
git_init_if_necessary() {