From eefaa4fca79f5240eaefd0046a338dbdac8b4204 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 27 Nov 2005 23:18:04 -0800 Subject: [PATCH] lost-found: make it operable from a subdirectory. Signed-off-by: Junio C Hamano --- git-lost-found.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/git-lost-found.sh b/git-lost-found.sh index 9dd74300..2beec2aa 100755 --- a/git-lost-found.sh +++ b/git-lost-found.sh @@ -1,7 +1,6 @@ #!/bin/sh -. git-sh-setup - +GIT_DIR=`git-rev-parse --git-dir` || exit $? laf="$GIT_DIR/lost-found" rm -fr "$laf" && mkdir -p "$laf/commit" "$laf/other" || exit -- 2.11.0