summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
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
2010-06-21Merge branch 'gv/portable'Libravatar Junio C Hamano1-1/+5
2010-06-12log_ref_setup: don't return stack-allocated arrayLibravatar Thomas Rast1-14/+12
2010-06-02refs: split log_ref_write logic into log_ref_setupLibravatar Erick Mattos1-21/+36
2010-05-31Rewrite dynamic structure initializations to runtime assignmentLibravatar Gary V. Vaughan1-1/+5
2010-03-29refs.c: Write reflogs for notes just like for branch headsLibravatar Michael J Gruber1-0/+1
2010-03-24Merge branch 'tr/notes-display'Libravatar Junio C Hamano1-3/+1
2010-03-24Merge branch 'jc/maint-refs-dangling'Libravatar Junio C Hamano1-4/+7
2010-03-15refs: ref entry with NULL sha1 is can be a dangling symrefLibravatar Junio C Hamano1-4/+7
2010-03-13for_each_recent_reflog_ent(): use strbuf, fix offset handlingLibravatar René Scharfe1-10/+12
2010-03-12Support showing notes from more than one notes treeLibravatar Thomas Rast1-4/+2
2010-02-03Typofixes outside documentation areaLibravatar Junio C Hamano1-1/+1
2010-01-20rev-parse --branches/--tags/--remotes=patternLibravatar Ilari Liusvaara1-2/+10
2010-01-20rev-parse --globLibravatar Ilari Liusvaara1-0/+45
2009-11-10teach warn_dangling_symref to take a FILE argumentLibravatar Jay Soffian1-3/+4
2009-09-29git branch -D: give a better error message when lockfile creation failsLibravatar Miklos Vajna1-1/+3