Rename .git/lost+found to .git/lost-found.
authorJunio C Hamano <junkio@cox.net>
Fri, 11 Nov 2005 03:16:26 +0000 (19:16 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 12 Nov 2005 05:52:21 +0000 (21:52 -0800)
Just to avoid confusion that scripts poorly written by somebody
else ;-) might mistake this as a mount point, or backup tools
ignoring the directory.  The latter is probably not a big loss,
however, considering that this directory's contents are to be
used while fresh anyway.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-lost+found.txt
git-lost+found.sh

index 0cb8e3bbfe05997eaebdc977249c065ea1ff775b..660e90b109afa89cbdca5590b614a9f6cfdd64a7 100644 (file)
@@ -12,9 +12,9 @@ SYNOPSIS
 DESCRIPTION
 -----------
 Finds dangling commits and tags from the object database, and
-creates refs to them in .git/lost+found/ directory.  Commits and
-tags that dereference to commits go to .git/lost+found/commit
-and others are stored in .git/lost+found/other directory.
+creates refs to them in .git/lost-found/ directory.  Commits and
+tags that dereference to commits go to .git/lost-found/commit
+and others are stored in .git/lost-found/other directory.
 
 
 OUTPUT
@@ -40,7 +40,7 @@ Also you can use gitk to browse how they relate to each other
 and existing (probably old) tags.
 
 ------------
-$ gitk $(cd .git/lost+found/commit && echo ??*)
+$ gitk $(cd .git/lost-found/commit && echo ??*)
 ------------
 
 After making sure that it is the object you are looking for, you
index b6b2616e45a8ac593123fb8ee468f5aa1bd96b2c..3892f52005d1e36676681806a87ef35dc0689f22 100755 (executable)
@@ -2,7 +2,7 @@
 
 . git-sh-setup || die "Not a git archive."
 
-laf="$GIT_DIR/lost+found"
+laf="$GIT_DIR/lost-found"
 rm -fr "$laf" && mkdir -p "$laf/commit" "$laf/other" || exit
 
 git fsck-objects |