summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* do_for_each_ref(): only iterate over the subtree that was requestedMichael Haggerty2012-04-101-7/+28
* refs: store references hierarchicallyMichael Haggerty2012-04-101-47/+227
* sort_ref_dir(): simplify logicMichael Haggerty2012-04-101-10/+11
* refs.c: rename ref_array -> ref_dirMichael Haggerty2012-04-101-98/+97
* struct ref_entry: nest the value part in a unionMichael Haggerty2012-04-101-13/+19
* check_refname_component(): return 0 for zero-length componentsMichael Haggerty2012-04-101-2/+2
* free_ref_entry(): new functionMichael Haggerty2012-04-101-2/+7
* names_conflict(): simplify implementationMichael Haggerty2012-04-101-25/+37
* repack_without_ref(): reimplement using do_for_each_ref_in_array()Michael Haggerty2012-04-101-33/+61
* do_for_each_ref_in_arrays(): new functionMichael Haggerty2012-04-101-29/+53
* do_for_each_ref_in_array(): new functionMichael Haggerty2012-04-101-10/+23
* refs: manage current_ref within do_one_ref()Michael Haggerty2012-04-101-6/+7
* refs.c: reorder definitions more logicallyMichael Haggerty2012-04-101-253/+256
* refs: remove the extra_refs APImh/war-on-extra-refsMichael Haggerty2012-02-121-22/+1
* add_packed_ref(): new function in the refs API.Michael Haggerty2012-01-171-0/+6
* ref_array: keep track of whether references are sortedMichael Haggerty2012-01-171-7/+26
* Merge branch 'mh/ref-api'Junio C Hamano2011-12-201-243/+261
|\
| * add_ref(): take a (struct ref_entry *) parametermh/ref-apiMichael Haggerty2011-12-121-9/+5
| * create_ref_entry(): extract function from add_ref()Michael Haggerty2011-12-121-15/+22
| * repack_without_ref(): remove temporaryMichael Haggerty2011-12-121-5/+2
| * resolve_gitlink_ref_recursive(): change to work with struct ref_cacheMichael Haggerty2011-12-121-24/+10
| * Pass a (ref_cache *) to the resolve_gitlink_*() helper functionsMichael Haggerty2011-12-121-20/+20
| * get_ref_dir(): change signatureMichael Haggerty2011-12-121-9/+9
| * refs: change signatures of get_packed_refs() and get_loose_refs()Michael Haggerty2011-12-121-19/+17
| * is_dup_ref(): extract function from sort_ref_array()Michael Haggerty2011-12-121-12/+25
| * add_ref(): add docstringMichael Haggerty2011-12-121-0/+1
| * parse_ref_line(): add docstringMichael Haggerty2011-12-121-0/+5
| * is_refname_available(): remove the "quiet" argumentMichael Haggerty2011-12-121-7/+13
| * clear_ref_array(): rename from free_ref_array()Michael Haggerty2011-12-121-4/+4
| * refs: rename parameters result -> sha1Michael Haggerty2011-12-121-10/+10
| * refs: rename "refname" variablesMichael Haggerty2011-12-121-149/+157
| * struct ref_entry: document name memberMichael Haggerty2011-12-121-0/+1
* | Rename resolve_ref() to resolve_ref_unsafe()nd/resolve-refNguyễn Thái Ngọc Duy2011-12-131-11/+11
* | Convert resolve_ref+xstrdup to new resolve_refdup functionNguyễn Thái Ngọc Duy2011-12-131-0/+6
|/
* Merge branch 'nd/resolve-ref'Junio C Hamano2011-12-091-11/+16
|\
| * Convert many resolve_ref() calls to read_ref*() and ref_exists()Nguyễn Thái Ngọc Duy2011-11-131-11/+16
* | Merge branch 'jc/pull-signed-tag'Junio C Hamano2011-12-091-7/+0
|\ \
| * | refs DWIMmery: use the same rule for both "git fetch" and othersJunio C Hamano2011-11-071-8/+0
| * | fetch: allow "git fetch $there v1.0" to fetch a tagJunio C Hamano2011-11-071-0/+1
* | | refs: loosen over-strict "format" checkJunio C Hamano2011-11-161-10/+10
| |/ |/|
* | Merge branch 'jc/broken-ref-dwim-fix'Junio C Hamano2011-10-211-13/+101
|\ \
| * | resolve_ref(): report breakage to the caller without warningJunio C Hamano2011-10-191-7/+11
| * | resolve_ref(): expose REF_ISBROKEN flagJunio C Hamano2011-10-191-7/+6
| * | refs.c: move dwim_ref()/dwim_log() from sha1_name.cJunio C Hamano2011-10-121-0/+85
* | | Merge branch 'mh/ref-api'Junio C Hamano2011-10-211-28/+31
|\ \ \
| * | | clear_ref_cache(): inline functionMichael Haggerty2011-10-161-7/+3
| * | | write_ref_sha1(): only invalidate the loose ref cacheMichael Haggerty2011-10-161-1/+1
| * | | clear_ref_cache(): extract two new functionsMichael Haggerty2011-10-161-4/+15
| * | | clear_ref_cache(): rename parameterMichael Haggerty2011-10-161-6/+6
| * | | invalidate_ref_cache(): expose this function in the refs APIMichael Haggerty2011-10-161-1/+1