aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-03 10:40:38 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-03 10:40:38 -0700
commitc33303839c76c41c9f85e5bd3f7b04fab60c38ca (patch)
tree38f671a7da0a9bd9886f437ef45fe269ee7767b4 /cache.h
parent6da4016aea2dc5bf311fea160bd8ef96ca82b999 (diff)
downloadgit-c33303839c76c41c9f85e5bd3f7b04fab60c38ca.tar.gz
git-c33303839c76c41c9f85e5bd3f7b04fab60c38ca.tar.xz
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 'cache.h')
0 files changed, 0 insertions, 0 deletions