summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* 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/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
|\ \
| * | reflog_expire(): integrate lock_ref_sha1_basic() errors into oursmh/ref-directory-file-3mh/ref-directory-fileMichael Haggerty2015-05-111-2/+2
| * | ref_transaction_commit(): delete extra "the" from error messageMichael Haggerty2015-05-111-1/+1
| * | ref_transaction_commit(): provide better error messagesMichael Haggerty2015-05-111-4/+6
| * | rename_ref(): integrate lock_ref_sha1_basic() errors into oursMichael Haggerty2015-05-111-4/+2
| * | lock_ref_sha1_basic(): improve diagnostics for ref D/F conflictsMichael Haggerty2015-05-111-4/+12
| * | lock_ref_sha1_basic(): report errors via a "struct strbuf *err"Michael Haggerty2015-05-111-16/+28
| * | verify_refname_available(): report errors via a "struct strbuf *err"Michael Haggerty2015-05-111-20/+30
| * | verify_refname_available(): rename functionMichael Haggerty2015-05-111-17/+20
| * | refs: check for D/F conflicts among refs created in a transactionMichael Haggerty2015-05-111-62/+94
| * | ref_transaction_commit(): use a string_list for detecting duplicatesMichael Haggerty2015-05-111-14/+11
| * | is_refname_available(): use dirname in first loopMichael Haggerty2015-05-111-14/+26
| * | struct nonmatching_ref_data: store a refname instead of a ref_entryMichael Haggerty2015-05-111-3/+4
| * | report_refname_conflict(): inline functionMichael Haggerty2015-05-111-8/+2
| * | entry_matches(): inline functionMichael Haggerty2015-05-111-7/+2
| * | is_refname_available(): convert local variable "dirname" to strbufMichael Haggerty2015-05-111-7/+5
| * | is_refname_available(): avoid shadowing "dir" variableMichael Haggerty2015-05-111-2/+2
| * | is_refname_available(): revamp the commentsMichael Haggerty2015-05-111-22/+47
* | | Merge branch 'mh/write-refs-sooner-2.4'Junio C Hamano2015-05-221-31/+82
|\ \ \
| * | | ref_transaction_commit(): fix atomicity and avoid fd exhaustionMichael Haggerty2015-05-121-21/+53
| * | | ref_transaction_commit(): remove the local flags variableMichael Haggerty2015-05-121-9/+9
| * | | ref_transaction_commit(): inline call to write_ref_sha1()Michael Haggerty2015-05-121-18/+7
| * | | rename_ref(): inline calls to write_ref_sha1() from this functionMichael Haggerty2015-05-121-4/+8
| * | | commit_ref_update(): new function, extracted from write_ref_sha1()Michael Haggerty2015-05-121-7/+20
| * | | write_ref_to_lockfile(): new function, extracted from write_ref_sha1()Michael Haggerty2015-05-121-4/+17
| |/ /