From 8a084f36bd0136e1c674ed3aa225d07d4125938b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 12 Jul 2021 13:45:23 +0200 Subject: Fix gg command --- usr/local/bin/gg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr/local/bin/gg') 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 "$@" -- cgit v1.2.3