summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* Rename resolve_ref() to resolve_ref_unsafe()nd/resolve-refNguyễn Thái Ngọc Duy2011-12-131-11/+11
* Convert resolve_ref+xstrdup to new resolve_refdup functionNguyễn Thái Ngọc Duy2011-12-131-0/+6
* Merge branch 'nd/resolve-ref'Junio C Hamano2011-12-091-11/+16
|\
| * Convert many resolve_ref() calls to read_ref*() and ref_exists()Nguyễn Thái Ngọc Duy2011-11-131-11/+16
* | Merge branch 'jc/pull-signed-tag'Junio C Hamano2011-12-091-7/+0
|\ \
| * | refs DWIMmery: use the same rule for both "git fetch" and othersJunio C Hamano2011-11-071-8/+0
| * | fetch: allow "git fetch $there v1.0" to fetch a tagJunio C Hamano2011-11-071-0/+1
* | | refs: loosen over-strict "format" checkJunio C Hamano2011-11-161-10/+10
| |/ |/|
* | Merge branch 'jc/broken-ref-dwim-fix'Junio C Hamano2011-10-211-13/+101
|\ \
| * | resolve_ref(): report breakage to the caller without warningJunio C Hamano2011-10-191-7/+11
| * | resolve_ref(): expose REF_ISBROKEN flagJunio C Hamano2011-10-191-7/+6
| * | refs.c: move dwim_ref()/dwim_log() from sha1_name.cJunio C Hamano2011-10-121-0/+85
* | | Merge branch 'mh/ref-api'Junio C Hamano2011-10-211-28/+31
|\ \ \
| * | | clear_ref_cache(): inline functionMichael Haggerty2011-10-161-7/+3
| * | | write_ref_sha1(): only invalidate the loose ref cacheMichael Haggerty2011-10-161-1/+1
| * | | clear_ref_cache(): extract two new functionsMichael Haggerty2011-10-161-4/+15
| * | | clear_ref_cache(): rename parameterMichael Haggerty2011-10-161-6/+6
| * | | invalidate_ref_cache(): expose this function in the refs APIMichael Haggerty2011-10-161-1/+1
| * | | invalidate_ref_cache(): take the submodule as parameterMichael Haggerty2011-10-161-8/+4
| * | | invalidate_ref_cache(): rename function from invalidate_cached_refs()Michael Haggerty2011-10-161-20/+20
* | | | Merge branch 'jc/maint-remove-renamed-ref'Junio C Hamano2011-10-211-8/+0
|\ \ \ \ | |_|_|/ |/| | |
| * | | branch -m/-M: remove undocumented RENAMED-REFJunio C Hamano2011-10-121-8/+0
* | | | resolve_gitlink_packed_ref(): fix mismergeJunio C Hamano2011-10-171-1/+11
| |/ / |/| |
* | | Merge branch 'jp/get-ref-dir-unsorted'Junio C Hamano2011-10-101-200/+153
|\ \ \
| * | | refs.c: free duplicate entries in the ref array instead of leaking themBrandon Casey2011-10-101-0/+1
| * | | refs.c: abort ref search if ref array is emptyBrandon Casey2011-10-101-0/+3
| * | | refs.c: ensure struct whose member may be passed to realloc is initializedBrandon Casey2011-10-101-0/+1
| * | | refs: Use binary search to lookup refs fasterJulian Phillips2011-09-301-193/+152
| * | | Don't sort ref_list too earlyJulian Phillips2011-09-261-1/+3
* | | | Merge branch 'mh/check-ref-format-3'Junio C Hamano2011-10-101-92/+130
|\ \ \ \ | | |_|/ | |/| |
| * | | add_ref(): verify that the refname is formatted correctlyMichael Haggerty2011-10-051-4/+14
| * | | resolve_ref(): expand documentationMichael Haggerty2011-10-051-12/+0
| * | | resolve_ref(): also treat a too-long SHA1 as invalidMichael Haggerty2011-10-051-1/+2
| * | | resolve_ref(): emit warnings for improperly-formatted referencesMichael Haggerty2011-10-051-2/+4
| * | | resolve_ref(): verify that the input refname has the right formatMichael Haggerty2011-10-051-0/+3
| * | | resolve_ref(): do not follow incorrectly-formatted symbolic refsMichael Haggerty2011-10-051-0/+5
| * | | resolve_ref(): extract a function get_packed_ref()Michael Haggerty2011-10-051-13/+34
| * | | resolve_ref(): turn buffer into a proper string as soon as possibleMichael Haggerty2011-10-051-10/+10
| * | | resolve_ref(): only follow a symlink that contains a valid, normalized refnameMichael Haggerty2011-10-051-1/+2
| * | | resolve_ref(): use prefixcmp()Michael Haggerty2011-10-051-2/+2
| * | | resolve_ref(): explicitly fail if a symlink is not readableMichael Haggerty2011-10-051-0/+2
| * | | Change check_refname_format() to reject unnormalized refnamesMichael Haggerty2011-10-051-3/+0
| * | | Do not allow ".lock" at the end of any refname componentMichael Haggerty2011-10-051-2/+2
| * | | Refactor check_refname_format()Michael Haggerty2011-10-051-40/+55
| * | | Change check_ref_format() to take a flags argumentMichael Haggerty2011-10-051-23/+19
| * | | Change bad_ref_char() to return a boolean valueMichael Haggerty2011-10-051-9/+6
* | | | Merge branch 'mh/iterate-refs'Junio C Hamano2011-10-101-32/+74
|\ \ \ \ | |/ / / |/| | |
| * | | refs.c: make create_cached_refs() staticJunio C Hamano2011-09-111-1/+1
| * | | Retain caches of submodule refsMichael Haggerty2011-08-141-13/+21
| * | | Store the submodule name in struct cached_refsMichael Haggerty2011-08-141-4/+11