From eefaa4fca79f5240eaefd0046a338dbdac8b4204 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 27 Nov 2005 23:18:04 -0800 Subject: lost-found: make it operable from a subdirectory. Signed-off-by: Junio C Hamano diff --git a/git-lost-found.sh b/git-lost-found.sh index 9dd7430..2beec2a 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 -- cgit v0.10.2-6-g49f6