Skip to content

Commit

Permalink
lost-found: make it operable from a subdirectory.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Nov 29, 2005
1 parent 9cc2527 commit eefaa4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions git-lost-found.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit eefaa4f

Please sign in to comment.