summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2011-11-16refs: loosen over-strict "format" checkLibravatar Junio C Hamano1-10/+10
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
2011-09-06Merge branch 'mh/check-ref-format-print-normalize'Libravatar Junio C Hamano1-1/+1
2011-08-28Merge branch 'nd/maint-clone-gitdir'Libravatar Junio C Hamano1-1/+1
2011-08-27Forbid DEL characters in reference namesLibravatar Michael Haggerty1-1/+1
2011-08-22read_gitfile_gently(): rename misnamed function to read_gitfile()Libravatar Junio C Hamano1-1/+1
2011-08-17Merge branch 'js/ref-namespaces'Libravatar Junio C Hamano1-4/+29
2011-08-14Retain caches of submodule refsLibravatar Michael Haggerty1-13/+21
2011-08-14Store the submodule name in struct cached_refsLibravatar Michael Haggerty1-4/+11
2011-08-14Allocate cached_refs objects dynamicallyLibravatar Michael Haggerty1-7/+21
2011-08-14Change the signature of read_packed_refs()Libravatar Michael Haggerty1-7/+7