aboutsummaryrefslogtreecommitdiff
path: root/usr/local/bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/bin')
-rwxr-xr-xusr/local/bin/gg4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/bin/gg b/usr/local/bin/gg
index 3526088..1511fe5 100755
--- a/usr/local/bin/gg
+++ b/usr/local/bin/gg
@@ -1,2 +1,4 @@
#!/bin/sh
-exec git --git-dir=/.git --work-tree=/ "$@"
+export GIT_DIR=/.git
+export GIT_WORK_TREE=/
+exec git "$@"