summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* refs.c: remove_empty_directories can take a strbufJeff King2015-08-101-19/+15
* refs.c: avoid git_path assignment in lock_ref_sha1_basicJeff King2015-08-101-13/+19
* refs.c: avoid repeated git_path calls in rename_tmp_logJeff King2015-08-101-7/+14
* refs.c: simplify strbufs in reflog setup and writingJeff King2015-08-101-23/+15
* refs.c: remove extra git_path calls from read_loose_refsJeff King2015-08-101-10/+13
* prefer mkpathdup to mkpath in assignmentsJeff King2015-08-101-2/+4
* prefer git_pathdup to git_path in some possibly-dangerous casesJeff King2015-08-101-6/+8
* Merge branch 'jk/refspec-parse-wildcard'Junio C Hamano2015-08-031-19/+25
|\
| * refs: loosen restriction on wildcard "*" refspecsjk/refspec-parse-wildcardJacob Keller2015-07-271-16/+20
| * refs: cleanup comments regarding check_refname_component()Jacob Keller2015-07-271-5/+7
| * Merge branch 'mh/write-refs-sooner-2.4' into maintJunio C Hamano2015-06-051-31/+82
| |\
* | \ Merge branch 'dt/refs-backend-preamble'Junio C Hamano2015-08-031-60/+109
|\ \ \
| * | | refs: add REF_FORCE_CREATE_REFLOG flagDavid Turner2015-07-211-13/+21
| * | | refs: new public ref function: safe_create_reflogDavid Turner2015-07-211-4/+20
| * | | refs: break out check for reflog autocreationDavid Turner2015-07-211-5/+11
| * | | refs.c: add err arguments to reflog functionsDavid Turner2015-07-211-55/+74
* | | | Merge branch 'jk/date-mode-format'Junio C Hamano2015-08-031-2/+2
|\ \ \ \
| * | | | convert "enum date_mode" into a structJeff King2015-06-291-2/+2
| |/ / /
* | | | Merge branch 'mh/init-delete-refs-api'Junio C Hamano2015-08-031-13/+169
|\ \ \ \
| * | | | delete_ref(): use the usual convention for old_sha1mh/init-delete-refs-apiMichael Haggerty2015-06-221-8/+0
| * | | | refs: move the remaining ref module declarations to refs.hMichael Haggerty2015-06-221-2/+4
| * | | | initial_ref_transaction_commit(): check for ref D/F conflictsMichael Haggerty2015-06-221-0/+34
| * | | | initial_ref_transaction_commit(): check for duplicate refsMichael Haggerty2015-06-221-0/+11
| * | | | refs: remove some functions from the module's public interfaceMichael Haggerty2015-06-221-7/+24
| * | | | initial_ref_transaction_commit(): function for initial ref creationMichael Haggerty2015-06-221-0/+47
| * | | | repack_without_refs(): make function privateMichael Haggerty2015-06-221-1/+8
| * | | | delete_refs(): bail early if the packed-refs file cannot be rewrittenMichael Haggerty2015-06-221-3/+22
| * | | | delete_refs(): make error message more genericMichael Haggerty2015-06-221-1/+1
| * | | | delete_refs(): new function for the refs APIMichael Haggerty2015-06-221-0/+19
| * | | | delete_ref(): handle special case more explicitlyMichael Haggerty2015-06-221-2/+9
| * | | | delete_ref(): move declaration to refs.hMichael Haggerty2015-06-221-2/+3
* | | | | Merge branch 'mh/replace-refs'Junio C Hamano2015-08-031-1/+2
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Allow to control where the replace refs are looked formh/replace-refsMike Hommey2015-06-121-1/+2
* | | | | Merge branch 'mh/reporting-broken-refs-from-for-each-ref'Junio C Hamano2015-06-241-7/+22
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | read_loose_refs(): treat NULL_SHA1 loose references as brokenmh/reporting-broken-refs-from-for-each-refMichael Haggerty2015-06-081-0/+10
| * | | | read_loose_refs(): simplify function logicMichael Haggerty2015-06-031-7/+12
* | | | | Merge branch 'mh/verify-lock-error-report'Junio C Hamano2015-06-111-14/+26
|\ \ \ \ \
| * | | | | ref_transaction_commit(): do not capitalize error messagesmh/verify-lock-error-reportMichael Haggerty2015-05-271-2/+2
| * | | | | verify_lock(): do not capitalize error messagesMichael Haggerty2015-05-271-2/+2
| * | | | | verify_lock(): report errors via a strbufMichael Haggerty2015-05-271-7/+12
| * | | | | verify_lock(): on errors, let the caller unlock the lockMichael Haggerty2015-05-271-4/+4
| * | | | | verify_lock(): return 0/-1 rather than struct ref_lock *Michael Haggerty2015-05-271-7/+14
| | |/ / / | |/| | |
* | | | | struct ref_lock: convert old_sha1 member to object_idMichael Haggerty2015-05-251-12/+12
* | | | | warn_if_dangling_symref(): convert local variable "junk" to object_idMichael Haggerty2015-05-251-3/+3
* | | | | each_ref_fn_adapter(): remove adapterMichael Haggerty2015-05-251-8/+0
* | | | | each_ref_fn: change to take an object_id parameterMichael Haggerty2015-05-251-16/+26
* | | | | refs: convert struct ref_entry to use struct object_idbrian m. carlson2015-05-251-22/+22
|/ / / /
* | | | Merge branch 'mh/lockfile-retry'Junio C Hamano2015-05-221-1/+11
|\ \ \ \
| * | | | lock_packed_refs(): allow retries when acquiring the packed-refs lockmh/lockfile-retryMichael Haggerty2015-05-141-1/+11
* | | | | Merge branch 'mh/ref-directory-file'Junio C Hamano2015-05-221-111/+198
|\ \ \ \ \ | | |_|/ / | |/| | |