aboutsummaryrefslogtreecommitdiff
path: root/fsck-cache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-10 22:06:50 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-10 22:06:50 -0700
commit76e7f4ec485f24b167b76db046dc2ca4562debd4 (patch)
tree3d00c15360e1aea2a51558e5f56b95d11e9d7010 /fsck-cache.c
parent262e82b4a7ec708d8c9e641421509b16b8ec69f1 (diff)
downloadgit-76e7f4ec485f24b167b76db046dc2ca4562debd4.tar.gz
git-76e7f4ec485f24b167b76db046dc2ca4562debd4.tar.xz
Fix off-by-one error in removal of cache entry.
Also make the return value of "cache_name_pos()" be sane: positive or zero if we found it (it's the index into the cache array), and "-pos-1" to indicate where it should go if we didn't.
Diffstat (limited to 'fsck-cache.c')
0 files changed, 0 insertions, 0 deletions