summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2014-03-06Use hashcpy() when copying object namesLibravatar Sun He1-1/+1
2014-02-20use wildmatch() directly without fnmatch() wrapperLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2014-01-27Merge branch 'mh/safe-create-leading-directories'Libravatar Junio C Hamano1-24/+68
2014-01-27Merge branch 'mh/retire-ref-fetch-rules'Libravatar Junio C Hamano1-3/+3
2014-01-21rename_tmp_log(): on SCLD_VANISHED, retryLibravatar Michael Haggerty1-1/+8
2014-01-21rename_tmp_log(): limit the number of remote_empty_directories() attemptsLibravatar Michael Haggerty1-2/+2
2014-01-21rename_tmp_log(): handle a possible mkdir/rmdir raceLibravatar Michael Haggerty1-1/+10
2014-01-21rename_ref(): extract function rename_tmp_log()Libravatar Michael Haggerty1-22/+30
2014-01-21lock_ref_sha1_basic(): if locking fails with ENOENT, retryLibravatar Michael Haggerty1-1/+12
2014-01-21lock_ref_sha1_basic(): on SCLD_VANISHED, retryLibravatar Michael Haggerty1-1/+10
2014-01-14refname_match(): always use the rules in ref_rev_parse_rulesLibravatar Michael Haggerty1-3/+3
2014-01-13Merge branch 'mh/shorten-unambigous-ref'Libravatar Junio C Hamano1-31/+14
2014-01-09shorten_unambiguous_ref(): tighten up pointer arithmeticLibravatar Michael Haggerty1-2/+2
2014-01-09gen_scanf_fmt(): delete function and use snprintf() insteadLibravatar Michael Haggerty1-26/+9
2014-01-09shorten_unambiguous_ref(): introduce a new local variableLibravatar Michael Haggerty1-4/+4
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Libravatar Christian Couder1-15/+15
2013-11-01Merge branch 'sb/refs-code-cleanup'Libravatar Junio C Hamano1-7/+0
2013-10-30Merge branch 'jk/refs-c-squelch-gcc'Libravatar Junio C Hamano1-1/+1
2013-10-28refs: remove unused function invalidate_ref_cacheLibravatar Stefan Beller1-7/+0
2013-10-24silence gcc array-bounds warningLibravatar Jeff King1-1/+1
2013-10-14refs.c: spell NULL pointer as NULLLibravatar Ramsay Jones1-1/+1
2013-09-20Merge branch 'fc/at-head'Libravatar Junio C Hamano1-1/+5
2013-09-20Merge branch 'bk/refs-multi-update'Libravatar Junio C Hamano1-27/+168
2013-09-12Add new @ shortcut for HEADLibravatar Felipe Contreras1-0/+4
2013-09-09Merge branch 'jc/push-cas'Libravatar Junio C Hamano1-8/+0
2013-09-04refs: add update_refs for multiple simultaneous updatesLibravatar Brad King1-0/+100
2013-09-04refs: add function to repack without multiple refsLibravatar Brad King1-9/+24
2013-09-04refs: factor delete_ref loose ref step into a helperLibravatar Brad King1-10/+17
2013-09-04refs: factor update_ref steps into helpersLibravatar Brad King1-6/+24
2013-09-03sha1-name: pass len argument to interpret_branch_name()Libravatar Felipe Contreras1-1/+1
2013-08-30refs: report ref type from lock_any_ref_for_updateLibravatar Brad King1-3/+4
2013-08-14Revert "Add new @ shortcut for HEAD"Libravatar Junio C Hamano1-4/+0
2013-07-31Merge branch 'mh/packed-refs-do-one-ref-recursion'Libravatar Junio C Hamano1-1/+5
2013-07-24Merge branch 'mh/ref-races-optim-invalidate-cached'Libravatar Junio C Hamano1-3/+6
2013-07-17do_one_ref(): save and restore value of current_refLibravatar Michael Haggerty1-1/+5
2013-07-08cache.h: move remote/connect API out of itLibravatar Junio C Hamano1-8/+0
2013-06-30Merge branch 'mh/ref-races'Libravatar Junio C Hamano1-51/+265
2013-06-20refs: do not invalidate the packed-refs cache unnecessarilyLibravatar Michael Haggerty1-3/+6
2013-06-20for_each_ref: load all loose refs before packed refsLibravatar Jeff King1-4/+35
2013-06-20get_packed_ref_cache: reload packed-refs file when it changesLibravatar Jeff King1-5/+16
2013-06-20packed_ref_cache: increment refcount when lockedLibravatar Michael Haggerty1-1/+7
2013-06-20do_for_each_entry(): increment the packed refs cache refcountLibravatar Michael Haggerty1-1/+4
2013-06-20refs: manage lifetime of packed refs cache via reference countingLibravatar Michael Haggerty1-3/+36
2013-06-20refs: implement simple transactions for the packed-refs fileLibravatar Michael Haggerty1-18/+70
2013-06-20refs: wrap the packed refs cache in a level of indirectionLibravatar Michael Haggerty1-6/+26
2013-06-20pack_refs(): split creation of packed refs and entry writingLibravatar Michael Haggerty1-14/+34
2013-06-20repack_without_ref(): split list curation and entry writingLibravatar Michael Haggerty1-12/+50
2013-06-19resolve_ref_unsafe(): close race condition reading loose refsLibravatar Michael Haggerty1-4/+24
2013-06-19resolve_ref_unsafe(): handle the case of an SHA-1 within loopLibravatar Michael Haggerty1-9/+13
2013-06-19resolve_ref_unsafe(): extract function handle_missing_loose_ref()Libravatar Michael Haggerty1-21/+35