aboutsummaryrefslogtreecommitdiff
path: root/git-lost-found.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-lost-found.sh')
-rwxr-xr-xgit-lost-found.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-lost-found.sh b/git-lost-found.sh
index 3892f5200..9dd743001 100755
--- a/git-lost-found.sh
+++ b/git-lost-found.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-. git-sh-setup || die "Not a git archive."
+. git-sh-setup
laf="$GIT_DIR/lost-found"
rm -fr "$laf" && mkdir -p "$laf/commit" "$laf/other" || exit