Merge branch 'mh/ref-api-2' into next
commitcc89f0e58b01a04d46c6185f932b3731893bafa6
authorJunio C Hamano <gitster@pobox.com>
Wed, 19 Oct 2011 18:09:35 +0000 (19 11:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Oct 2011 18:09:35 +0000 (19 11:09 -0700)
treecea5ef2a288f871046ef153d23e3547ad8b951fa
parent2978ee0fa3ab5378abc0510bb475aed5b51d3ca9
parent973592ca53225b2957e548b5b728940d5d5eca99
Merge branch 'mh/ref-api-2' into next

* mh/ref-api-2:
  resolve_gitlink_ref_recursive(): change to work with struct ref_cache
  Pass a (ref_cache *) to the resolve_gitlink_*() helper functions
  resolve_gitlink_ref(): improve docstring
  get_ref_dir(): change signature
  refs: change signatures of get_packed_refs() and get_loose_refs()
  is_dup_ref(): extract function from sort_ref_array()
  add_ref(): add docstring
  parse_ref_line(): add docstring
  is_refname_available(): remove the "quiet" argument
  clear_ref_array(): rename from free_ref_array()
  refs: rename parameters result -> sha1
  refs: rename "refname" variables
  struct ref_entry: document name member
  cache.h: add comments for git_path() and git_path_submodule()

Conflicts:
refs.c
cache.h
refs.c