summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
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
2011-10-05resolve_ref(): emit warnings for improperly-formatted referencesLibravatar Michael Haggerty1-2/+4
2011-10-05resolve_ref(): verify that the input refname has the right formatLibravatar Michael Haggerty1-0/+3
2011-10-05resolve_ref(): do not follow incorrectly-formatted symbolic refsLibravatar Michael Haggerty1-0/+5
2011-10-05resolve_ref(): extract a function get_packed_ref()Libravatar Michael Haggerty1-13/+34
2011-10-05resolve_ref(): turn buffer into a proper string as soon as possibleLibravatar Michael Haggerty1-10/+10
2011-10-05resolve_ref(): only follow a symlink that contains a valid, normalized refnameLibravatar Michael Haggerty1-1/+2
2011-10-05resolve_ref(): use prefixcmp()Libravatar Michael Haggerty1-2/+2
2011-10-05resolve_ref(): explicitly fail if a symlink is not readableLibravatar Michael Haggerty1-0/+2
2011-10-05Change check_refname_format() to reject unnormalized refnamesLibravatar Michael Haggerty1-3/+0
2011-10-05Do not allow ".lock" at the end of any refname componentLibravatar Michael Haggerty1-2/+2
2011-10-05Refactor check_refname_format()Libravatar Michael Haggerty1-40/+55
2011-10-05Change check_ref_format() to take a flags argumentLibravatar Michael Haggerty1-23/+19
2011-10-05Change bad_ref_char() to return a boolean valueLibravatar Michael Haggerty1-9/+6
2011-09-30refs: Use binary search to lookup refs fasterLibravatar Julian Phillips1-193/+152
2011-09-26Don't sort ref_list too earlyLibravatar Julian Phillips1-1/+3
2011-09-11refs.c: make create_cached_refs() staticLibravatar Junio C Hamano1-1/+1