summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
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
2011-08-14Access reference caches only through new function get_cached_refs()Libravatar Michael Haggerty1-22/+32
2011-08-14Extract a function clear_cached_refs()Libravatar Michael Haggerty1-3/+6
2011-07-06ref namespaces: infrastructureLibravatar Josh Triplett1-0/+25
2011-07-06Fix prefix handling in ref iteration functionsLibravatar Josh Triplett1-4/+4
2011-06-29Merge branch 'jc/maint-1.7.3-checkout-describe'Libravatar Junio C Hamano1-0/+6
2011-06-16Fix typo: existant->existentLibravatar Dmitry Ivankov1-1/+1
2011-06-05checkout -b <name>: correctly detect existing branchLibravatar Junio C Hamano1-0/+6
2010-08-21Merge branch 'hv/submodule-find-ff-merge'Libravatar Junio C Hamano1-32/+117
2010-07-07Merge branch 'maint'Libravatar Junio C Hamano1-6/+15
2010-07-07setup_revisions(): Allow walking history in a submoduleLibravatar Heiko Voigt1-0/+31
2010-07-07Teach ref iteration module about submodulesLibravatar Heiko Voigt1-32/+86
2010-07-07fix git branch -m in presence of cross devicesLibravatar Pierre Habouzit1-6/+15