lost-found: make it operable from a subdirectory.

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 2005-11-27 23:18:04 -08:00
parent 9cc2527cd2
commit eefaa4fca7
1 changed files with 1 additions and 2 deletions

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