diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-15 01:31:04 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-15 01:31:04 -0800 |
commit | cd0a781c386b197e63a30104bead39420eada7ca (patch) | |
tree | 8ea8ba4b812ca2bc384ccc117da7fd4f4516f000 /Documentation/git-fsck-objects.txt | |
parent | 313c4714c5ec1673805b952ba79d910a42e8937c (diff) | |
download | git-cd0a781c386b197e63a30104bead39420eada7ca.tar.gz |
Documentation: do not blindly run 'cat' .git/HEAD, or echo into it.
Many places in the documentation we still talked about reading
what commit is recorded in .git/HEAD or writing the new head
information into it, both assuming .git/HEAD is a symlink. That
is not necessarily so.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-fsck-objects.txt')
-rw-r--r-- | Documentation/git-fsck-objects.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-fsck-objects.txt b/Documentation/git-fsck-objects.txt index 37e8055d21..bab1f6080c 100644 --- a/Documentation/git-fsck-objects.txt +++ b/Documentation/git-fsck-objects.txt @@ -68,7 +68,7 @@ that aren't readable from any of the specified head nodes. So for example - git-fsck-objects --unreachable $(cat .git/HEAD .git/refs/heads/*) + git-fsck-objects --unreachable HEAD $(cat .git/refs/heads/*) will do quite a _lot_ of verification on the tree. There are a few extra validity tests to be added (make sure that tree objects are |