diff options
-rw-r--r-- | Documentation/git-lost+found.txt | 8 | ||||
-rwxr-xr-x | git-lost+found.sh | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/git-lost+found.txt b/Documentation/git-lost+found.txt index 0cb8e3bbf..660e90b10 100644 --- a/Documentation/git-lost+found.txt +++ b/Documentation/git-lost+found.txt @@ -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 diff --git a/git-lost+found.sh b/git-lost+found.sh index b6b2616e4..3892f5200 100755 --- a/git-lost+found.sh +++ b/git-lost+found.sh @@ -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 | |