summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2012-01-17add_packed_ref(): new function in the refs API.Libravatar Michael Haggerty1-0/+6
2012-01-17ref_array: keep track of whether references are sortedLibravatar Michael Haggerty1-7/+26
2011-12-20Merge branch 'mh/ref-api'Libravatar Junio C Hamano1-243/+261
2011-12-13Rename resolve_ref() to resolve_ref_unsafe()Libravatar Nguyễn Thái Ngọc Duy1-11/+11
2011-12-13Convert resolve_ref+xstrdup to new resolve_refdup functionLibravatar Nguyễn Thái Ngọc Duy1-0/+6
2011-12-12add_ref(): take a (struct ref_entry *) parameterLibravatar Michael Haggerty1-9/+5
2011-12-12create_ref_entry(): extract function from add_ref()Libravatar Michael Haggerty1-15/+22
2011-12-12repack_without_ref(): remove temporaryLibravatar Michael Haggerty1-5/+2
2011-12-12resolve_gitlink_ref_recursive(): change to work with struct ref_cacheLibravatar Michael Haggerty1-24/+10
2011-12-12Pass a (ref_cache *) to the resolve_gitlink_*() helper functionsLibravatar Michael Haggerty1-20/+20
2011-12-12get_ref_dir(): change signatureLibravatar Michael Haggerty1-9/+9
2011-12-12refs: change signatures of get_packed_refs() and get_loose_refs()Libravatar Michael Haggerty1-19/+17
2011-12-12is_dup_ref(): extract function from sort_ref_array()Libravatar Michael Haggerty1-12/+25
2011-12-12add_ref(): add docstringLibravatar Michael Haggerty1-0/+1
2011-12-12parse_ref_line(): add docstringLibravatar Michael Haggerty1-0/+5
2011-12-12is_refname_available(): remove the "quiet" argumentLibravatar Michael Haggerty1-7/+13
2011-12-12clear_ref_array(): rename from free_ref_array()Libravatar Michael Haggerty1-4/+4
2011-12-12refs: rename parameters result -> sha1Libravatar Michael Haggerty1-10/+10
2011-12-12refs: rename "refname" variablesLibravatar Michael Haggerty1-149/+157
2011-12-12struct ref_entry: document name memberLibravatar Michael Haggerty1-0/+1
2011-12-09Merge branch 'nd/resolve-ref'Libravatar Junio C Hamano1-11/+16
2011-12-09Merge branch 'jc/pull-signed-tag'Libravatar Junio C Hamano1-7/+0
2011-11-16refs: loosen over-strict "format" checkLibravatar Junio C Hamano1-10/+10
2011-11-13Convert many resolve_ref() calls to read_ref*() and ref_exists()Libravatar Nguyễn Thái Ngọc Duy1-11/+16
2011-11-07refs DWIMmery: use the same rule for both "git fetch" and othersLibravatar Junio C Hamano1-8/+0
2011-11-07fetch: allow "git fetch $there v1.0" to fetch a tagLibravatar Junio C Hamano1-0/+1
2011-10-21Merge branch 'jc/broken-ref-dwim-fix'Libravatar Junio C Hamano1-13/+101
2011-10-21Merge branch 'mh/ref-api'Libravatar Junio C Hamano1-28/+31
2011-10-21Merge branch 'jc/maint-remove-renamed-ref'Libravatar Junio C Hamano1-8/+0
2011-10-19resolve_ref(): report breakage to the caller without warningLibravatar Junio C Hamano1-7/+11
2011-10-19resolve_ref(): expose REF_ISBROKEN flagLibravatar Junio C Hamano1-7/+6
2011-10-17resolve_gitlink_packed_ref(): fix mismergeLibravatar Junio C Hamano1-1/+11
2011-10-16clear_ref_cache(): inline functionLibravatar Michael Haggerty1-7/+3
2011-10-16write_ref_sha1(): only invalidate the loose ref cacheLibravatar Michael Haggerty1-1/+1
2011-10-16clear_ref_cache(): extract two new functionsLibravatar Michael Haggerty1-4/+15
2011-10-16clear_ref_cache(): rename parameterLibravatar Michael Haggerty1-6/+6
2011-10-16invalidate_ref_cache(): expose this function in the refs APILibravatar Michael Haggerty1-1/+1
2011-10-16invalidate_ref_cache(): take the submodule as parameterLibravatar Michael Haggerty1-8/+4
2011-10-16invalidate_ref_cache(): rename function from invalidate_cached_refs()Libravatar Michael Haggerty1-20/+20
2011-10-12refs.c: move dwim_ref()/dwim_log() from sha1_name.cLibravatar Junio C Hamano1-0/+85
2011-10-12branch -m/-M: remove undocumented RENAMED-REFLibravatar Junio C Hamano1-8/+0
2011-10-10Merge branch 'jp/get-ref-dir-unsorted'Libravatar Junio C Hamano1-200/+153
2011-10-10Merge branch 'mh/check-ref-format-3'Libravatar Junio C Hamano1-92/+130
2011-10-10Merge branch 'mh/iterate-refs'Libravatar Junio C Hamano1-32/+74
2011-10-10refs.c: free duplicate entries in the ref array instead of leaking themLibravatar Brandon Casey1-0/+1
2011-10-10refs.c: abort ref search if ref array is emptyLibravatar Brandon Casey1-0/+3
2011-10-10refs.c: ensure struct whose member may be passed to realloc is initializedLibravatar Brandon Casey1-0/+1
2011-10-05add_ref(): verify that the refname is formatted correctlyLibravatar Michael Haggerty1-4/+14
2011-10-05resolve_ref(): expand documentationLibravatar Michael Haggerty1-12/+0
2011-10-05resolve_ref(): also treat a too-long SHA1 as invalidLibravatar Michael Haggerty1-1/+2