mirror of
https://github.com/git/git.git
synced 2026-01-11 10:38:53 +00:00
lost-found: make it operable from a subdirectory.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user