summaryrefslogtreecommitdiff
path: root/rev-parse.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-03 17:40:38 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-03 17:40:38 (GMT)
commitc33303839c76c41c9f85e5bd3f7b04fab60c38ca (patch)
tree38f671a7da0a9bd9886f437ef45fe269ee7767b4 /rev-parse.c
parent6da4016aea2dc5bf311fea160bd8ef96ca82b999 (diff)
downloadgit-c33303839c76c41c9f85e5bd3f7b04fab60c38ca.zip
git-c33303839c76c41c9f85e5bd3f7b04fab60c38ca.tar.gz
git-c33303839c76c41c9f85e5bd3f7b04fab60c38ca.tar.bz2
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 'rev-parse.c')
0 files changed, 0 insertions, 0 deletions