lost-found: make it operable from a subdirectory.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2005-11-27 23:18:04 -08:00
parent 9cc2527cd2
commit eefaa4fca7

View File

@ -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