@matheusbsbs / matheus-bagliano / commits / eefaa4fca7
Fork 0

lost-found: make it operable from a subdirectory.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Nov 27, 2005 at 23:18 UTC eefaa4fca79f5240eaefd0046a338dbdac8b4204
1 file changed +1 -2
git-lost-found.sh
+1 -2
@@ -1,7 +1,6 @@
1 #!/bin/sh
2
3 -. git-sh-setup
4 -
3 +GIT_DIR=`git-rev-parse --git-dir` || exit $?
4 laf="$GIT_DIR/lost-found"
5 rm -fr "$laf" && mkdir -p "$laf/commit" "$laf/other" || exit
6