summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* add object_as_type helper for casting objectsJeff King2014-07-281-2/+1
* remote prune: optimize "dangling symref" check/warningjl/remote-rm-pruneJens Lindström2014-05-271-1/+18
* remote: repack packed-refs once when deleting multiple refsJens Lindström2014-05-271-1/+1
* Merge branch 'sh/use-hashcpy'Junio C Hamano2014-03-181-1/+1
|\
| * Use hashcpy() when copying object namessh/use-hashcpySun He2014-03-061-1/+1
* | use wildmatch() directly without fnmatch() wrapperNguyễn Thái Ngọc Duy2014-02-201-1/+1
|/
* Merge branch 'mh/safe-create-leading-directories'Junio C Hamano2014-01-271-24/+68
|\
| * rename_tmp_log(): on SCLD_VANISHED, retrymh/safe-create-leading-directoriesMichael Haggerty2014-01-211-1/+8
| * rename_tmp_log(): limit the number of remote_empty_directories() attemptsMichael Haggerty2014-01-211-2/+2
| * rename_tmp_log(): handle a possible mkdir/rmdir raceMichael Haggerty2014-01-211-1/+10
| * rename_ref(): extract function rename_tmp_log()Michael Haggerty2014-01-211-22/+30
| * lock_ref_sha1_basic(): if locking fails with ENOENT, retryMichael Haggerty2014-01-211-1/+12
| * lock_ref_sha1_basic(): on SCLD_VANISHED, retryMichael Haggerty2014-01-211-1/+10
* | Merge branch 'mh/retire-ref-fetch-rules'Junio C Hamano2014-01-271-3/+3
|\ \
| * | refname_match(): always use the rules in ref_rev_parse_rulesmh/retire-ref-fetch-rules@fooMichael Haggerty2014-01-141-3/+3
| |/
* | Merge branch 'mh/shorten-unambigous-ref'Junio C Hamano2014-01-131-31/+14
|\ \
| * | shorten_unambiguous_ref(): tighten up pointer arithmeticmh/shorten-unambigous-refMichael Haggerty2014-01-091-2/+2
| * | gen_scanf_fmt(): delete function and use snprintf() insteadMichael Haggerty2014-01-091-26/+9
| * | shorten_unambiguous_ref(): introduce a new local variableMichael Haggerty2014-01-091-4/+4
| |/
* | replace {pre,suf}fixcmp() with {starts,ends}_with()cc/starts-n-ends-withChristian Couder2013-12-051-15/+15
|/
* Merge branch 'sb/refs-code-cleanup'Junio C Hamano2013-11-011-7/+0
|\
| * refs: remove unused function invalidate_ref_cacheStefan Beller2013-10-281-7/+0
* | Merge branch 'jk/refs-c-squelch-gcc'Junio C Hamano2013-10-301-1/+1
|\ \
| * | silence gcc array-bounds warningjk/refs-c-squelch-gccJeff King2013-10-241-1/+1
* | | refs.c: spell NULL pointer as NULLRamsay Jones2013-10-141-1/+1
* | | Merge branch 'fc/at-head'Junio C Hamano2013-09-201-1/+5
|\ \ \
| * | | Add new @ shortcut for HEADfc/at-headFelipe Contreras2013-09-121-0/+4
| * | | sha1-name: pass len argument to interpret_branch_name()Felipe Contreras2013-09-031-1/+1
| | |/ | |/|
* | | Merge branch 'bk/refs-multi-update'Junio C Hamano2013-09-201-27/+168
|\ \ \
| * | | refs: add update_refs for multiple simultaneous updatesBrad King2013-09-041-0/+100
| * | | refs: add function to repack without multiple refsBrad King2013-09-041-9/+24
| * | | refs: factor delete_ref loose ref step into a helperBrad King2013-09-041-10/+17
| * | | refs: factor update_ref steps into helpersBrad King2013-09-041-6/+24
| * | | refs: report ref type from lock_any_ref_for_updateBrad King2013-08-301-3/+4
| |/ /
* | | Merge branch 'jc/push-cas'Junio C Hamano2013-09-091-8/+0
|\ \ \ | |/ / |/| |
| * | cache.h: move remote/connect API out of itJunio C Hamano2013-07-081-8/+0
* | | Revert "Add new @ shortcut for HEAD"Junio C Hamano2013-08-141-4/+0
* | | Merge branch 'mh/packed-refs-do-one-ref-recursion'Junio C Hamano2013-07-311-1/+5
|\ \ \
| * | | do_one_ref(): save and restore value of current_refmh/packed-refs-do-one-ref-recursionMichael Haggerty2013-07-171-1/+5
* | | | Merge branch 'mh/ref-races-optim-invalidate-cached'Junio C Hamano2013-07-241-3/+6
|\ \ \ \ | |_|/ / |/| | |
| * | | refs: do not invalidate the packed-refs cache unnecessarilyMichael Haggerty2013-06-201-3/+6
* | | | Merge branch 'mh/ref-races'Junio C Hamano2013-06-301-51/+265
|\ \ \ \ | |/ / /
| * | | for_each_ref: load all loose refs before packed refsJeff King2013-06-201-4/+35
| * | | get_packed_ref_cache: reload packed-refs file when it changesJeff King2013-06-201-5/+16
| * | | packed_ref_cache: increment refcount when lockedMichael Haggerty2013-06-201-1/+7
| * | | do_for_each_entry(): increment the packed refs cache refcountMichael Haggerty2013-06-201-1/+4
| * | | refs: manage lifetime of packed refs cache via reference countingMichael Haggerty2013-06-201-3/+36
| * | | refs: implement simple transactions for the packed-refs fileMichael Haggerty2013-06-201-18/+70
| * | | refs: wrap the packed refs cache in a level of indirectionMichael Haggerty2013-06-201-6/+26
| * | | pack_refs(): split creation of packed refs and entry writingMichael Haggerty2013-06-201-14/+34