Browse Source

lost-found: make it operable from a subdirectory.

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
eefaa4fca7
  1. 3
      git-lost-found.sh

3
git-lost-found.sh

@ -1,7 +1,6 @@ @@ -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


Loading…
Cancel
Save