summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'rs/clarify-entry-cmp-sslice'Junio C Hamano2013-01-231-6/+4
|\
| * refs: use strncmp() instead of strlen() and memcmp()René Scharfe2013-01-161-6/+4
* | Merge branch 'jk/repack-ref-racefix'Junio C Hamano2013-01-021-1/+4
|\ \
| * | refs: do not use cached refs in repack_without_refJeff King2012-12-211-1/+4
* | | Merge branch 'jh/update-ref-d-through-symref'Junio C Hamano2012-11-251-1/+1
|\ \ \
| * | | Fix failure to delete a packed ref through a symrefJohan Herland2012-10-211-1/+1
| |/ /
* | | Merge branch 'rs/lock-correct-ref-during-delete'Jeff King2012-11-091-13/+5
|\ \ \
| * | | refs: lock symref that is to be deleted, not its targetRené Scharfe2012-10-161-13/+5
| |/ /
* | | peel_ref: check object type before loadingJeff King2012-10-041-2/+9
* | | peel_ref: do not return a null sha1Jeff King2012-10-041-0/+2
* | | peel_ref: use faster deref_tag_noverifyJeff King2012-10-041-1/+1
|/ /
* | Merge branch 'rs/refs-string-slice'Junio C Hamano2012-05-291-29/+41
|\ \ | |/
| * refs: do not create ref_entry when searchingJunio C Hamano2012-05-221-9/+23
| * refs: use strings directly in find_containing_dir()René Scharfe2012-05-221-9/+4
| * refs: convert parameter of create_dir_entry() to length-limited stringRené Scharfe2012-05-221-8/+10
| * refs: convert parameter of search_ref_dir() to length-limited stringRené Scharfe2012-05-221-6/+7
* | Merge branch 'mh/ref-api-lazy-loose'Junio C Hamano2012-05-291-2/+7
|\ \
| * | free_ref_entry(): do not trigger reading of loose refsMichael Haggerty2012-05-201-2/+7
* | | Merge branch 'mh/ref-api'Junio C Hamano2012-05-251-0/+6
|\ \ \ | |_|/ |/| |
| * | Avoid sorting if references are added to ref_cache in orderMichael Haggerty2012-05-241-0/+6
* | | Merge branch 'mh/ref-api-lazy-loose'Junio C Hamano2012-05-101-134/+242
|\ \ \ | | |/ | |/|
| * | refs: fix find_containing_dir() regressionJunio C Hamano2012-05-041-1/+3
| * | refs: read loose references lazilyMichael Haggerty2012-05-031-29/+96
| * | read_loose_refs(): eliminate ref_cache argumentMichael Haggerty2012-05-031-4/+4
| * | struct ref_dir: store a reference to the enclosing ref_cacheMichael Haggerty2012-05-031-4/+11
| * | search_for_subdir(): return (ref_dir *) instead of (ref_entry *)Michael Haggerty2012-05-031-11/+10
| * | get_ref_dir(): add function for getting a ref_dir from a ref_entryMichael Haggerty2012-05-031-15/+25
| * | read_loose_refs(): rename function from get_ref_dir()Michael Haggerty2012-05-031-7/+7
| * | refs: wrap top-level ref_dirs in ref_entriesMichael Haggerty2012-05-031-18/+19
| * | find_containing_dir(): use strbuf in implementation of this functionMichael Haggerty2012-05-031-9/+10
| * | do_for_each_reflog(): use a strbuf to hold logfile nameMichael Haggerty2012-05-031-29/+31
| * | do_for_each_reflog(): return early on errorMichael Haggerty2012-05-031-35/+35
| * | get_ref_dir(): take the containing directory as argumentMichael Haggerty2012-05-031-4/+8
| * | refs.c: extract function search_for_subdir()Michael Haggerty2012-05-031-10/+24
| * | get_ref_dir(): require that the dirname argument ends in '/'Michael Haggerty2012-05-031-7/+7
| * | get_ref_dir(): rename "base" parameter to "dirname"Michael Haggerty2012-05-031-10/+10
| * | get_ref_dir(): use a strbuf to hold refnameMichael Haggerty2012-05-031-28/+26
| * | get_ref_dir(): return early if directory cannot be readMichael Haggerty2012-04-251-41/+44
| |/
* | Merge branch 'nd/i18n'Junio C Hamano2012-05-021-0/+1
|\ \ | |/ |/|
| * i18n: make warn_dangling_symref() automatically append \nNguyễn Thái Ngọc Duy2012-04-241-0/+1
* | do_for_each_ref(): only iterate over the subtree that was requestedMichael Haggerty2012-04-101-7/+28
* | refs: store references hierarchicallyMichael Haggerty2012-04-101-47/+227
* | sort_ref_dir(): simplify logicMichael Haggerty2012-04-101-10/+11
* | refs.c: rename ref_array -> ref_dirMichael Haggerty2012-04-101-98/+97
* | struct ref_entry: nest the value part in a unionMichael Haggerty2012-04-101-13/+19
* | check_refname_component(): return 0 for zero-length componentsMichael Haggerty2012-04-101-2/+2
* | free_ref_entry(): new functionMichael Haggerty2012-04-101-2/+7
* | names_conflict(): simplify implementationMichael Haggerty2012-04-101-25/+37
* | repack_without_ref(): reimplement using do_for_each_ref_in_array()Michael Haggerty2012-04-101-33/+61
* | do_for_each_ref_in_arrays(): new functionMichael Haggerty2012-04-101-29/+53