]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
Merge branch 'mh/ref-api'
authorJunio C Hamano <gitster@pobox.com>
Tue, 20 Dec 2011 21:25:53 +0000 (13:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Dec 2011 21:25:53 +0000 (13:25 -0800)
commit8d68493f20db71abeb77adc251b2a116fe45cdaa
tree5d3dbb7a24b9edbaf82850f4ab2b7d04dc8e4c5a
parent184a541fb54fbb9d062f30ee47ae629af7f5784c
parentdd73ecd1bc8903036d58cf7afb0010ef4aaf8695
Merge branch 'mh/ref-api'

* mh/ref-api:
  add_ref(): take a (struct ref_entry *) parameter
  create_ref_entry(): extract function from add_ref()
  repack_without_ref(): remove temporary
  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

Conflicts:
cache.h
refs.c
cache.h
refs.c