From: Felipe Contreras Date: Wed, 23 Apr 2014 19:42:38 GMT Subject: [RFC/PATCH v2 1/3] sh-setup: export GIT_DIR Message-ID: <1398282160-26151-2-git-send-email-felipe.contreras@gmail.com> In-Reply-To: <1398282160-26151-1-git-send-email-felipe.contreras@gmail.com> It is what the clients of this library expect. Signed-off-by: Felipe Contreras --- git-sh-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 5f28b32..fb0362f 100644 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -346,6 +346,7 @@ then exit 1 } : ${GIT_OBJECT_DIRECTORY="$GIT_DIR/objects"} + export GIT_DIR fi peel_committish () { -- 1.9.2+fc1.1.g5c924db