summaryrefslogtreecommitdiff
path: root/grep.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-09-30 12:37:37 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-09-30 15:07:58 -0700
commit5e290ff75a0e6996f297dc438aceb8e1f29a20a5 (patch)
tree37685be9453b9e9ca2cc6b7af66e5cf1b305e310 /grep.h
parentref locking: allow 'foo' when 'foo/bar' used to exist but not anymore. (diff)
downloadtgif-5e290ff75a0e6996f297dc438aceb8e1f29a20a5.tar.xz
refs: minor restructuring of cached refs data.
Once we read packed and loose refs, for_each_ref() and friends kept using them even after write_ref_sha1() and delete_ref() changed the refs. This adds invalidate_cached_refs() as a way to flush the cached information. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'grep.h')
0 files changed, 0 insertions, 0 deletions