diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-03 10:40:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-03 10:40:38 -0700 |
commit | c33303839c76c41c9f85e5bd3f7b04fab60c38ca (patch) | |
tree | 38f671a7da0a9bd9886f437ef45fe269ee7767b4 /sha1_file.c | |
parent | 6da4016aea2dc5bf311fea160bd8ef96ca82b999 (diff) | |
download | git-c33303839c76c41c9f85e5bd3f7b04fab60c38ca.tar.gz |
Make git-fsck-cache check HEAD integrity
In particular, check that it's a symlink, and points to refs/heads/. We
depend on that these days not only for "git checkout", but also because
fsck and others only check for references in the .git/refs/
subdirectory, not things like HEAD itself.
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions