Merge branch 'mh/ref-api' into next
commit219000f7e5703747d764f79d5d8ca46296aeb6ee
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Oct 2011 05:34:28 +0000 (17 22:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Oct 2011 05:34:28 +0000 (17 22:34 -0700)
tree7c85c47b2a75466f456acd49f9258190482f1e4c
parenta6412d411a3628bca48e7c1a66d802323dcb2d7a
parentc5f29abd8098275382ff56d8cbb00d660a64b43e
Merge branch 'mh/ref-api' into next

* mh/ref-api:
  clear_ref_cache(): inline function
  write_ref_sha1(): only invalidate the loose ref cache
  clear_ref_cache(): extract two new functions
  clear_ref_cache(): rename parameter
  invalidate_ref_cache(): expose this function in the refs API
  invalidate_ref_cache(): take the submodule as parameter
  invalidate_ref_cache(): rename function from invalidate_cached_refs()
refs.c