summaryrefslogtreecommitdiffstats
path: root/refs.h
AgeCommit message (Expand)AuthorLines
2015-02-17refs.h: remove duplication in function docstringsMichael Haggerty-23/+43
2015-02-17update_ref(): improve documentationMichael Haggerty-3/+10
2015-02-17ref_transaction_verify(): new function to check a reference's valueMichael Haggerty-8/+26
2015-02-17ref_transaction_delete(): remove "have_old" parameterMichael Haggerty-3/+3
2015-02-17ref_transaction_update(): remove "have_old" parameterMichael Haggerty-3/+3
2015-02-17refs.c: change some "flags" to "unsigned int"Michael Haggerty-5/+5
2015-02-12refs: move REF_DELETING to refs.cMichael Haggerty-3/+1
2015-02-11Merge branch 'mh/reflog-expire'Junio C Hamano-27/+48
2014-12-22refs.c: don't expose the internal struct ref_lock in the header fileStefan Beller-9/+0
2014-12-22lock_any_ref_for_update(): inline functionMichael Haggerty-8/+1
2014-12-22refs.c: remove unlock_ref/close_ref/commit_ref from the refs apiRonnie Sahlberg-9/+0
2014-12-22reflog_expire(): new function in the reference APIMichael Haggerty-0/+46
2014-12-04refs.c: make ref_transaction_delete a wrapper for ref_transaction_updateRonnie Sahlberg-1/+1
2014-11-25repack_without_refs(): make the refnames argument a string_listMichael Haggerty-1/+9
2014-10-15refs.c: allow listing and deleting badly named refsRonnie Sahlberg-2/+10
2014-10-15packed-ref cache: forbid dot-components in refnamesJonathan Nieder-5/+1
2014-10-15branch -d: avoid repeated symref resolutionJonathan Nieder-0/+2
2014-10-15refs.c: make write_ref_sha1 staticRonnie Sahlberg-3/+0
2014-10-15refs.c: ref_transaction_commit: distinguish name conflicts from other errorsRonnie Sahlberg-2/+7
2014-10-15refs.c: pass the ref log message to _create/delete/update instead of _commitRonnie Sahlberg-6/+6
2014-09-29Merge branch 'da/rev-parse-verify-quiet'Junio C Hamano-1/+2
2014-09-19Merge branch 'da/styles'Junio C Hamano-1/+1
2014-09-19refs: make rev-parse --quiet actually quietDavid Aguilar-1/+2
2014-09-11Merge branch 'rs/ref-transaction-1'Junio C Hamano-18/+59
2014-09-03refs.c: make prune_ref use a transaction to delete the refRonnie Sahlberg-2/+11
2014-09-03refs.c: make lock_ref_sha1 staticRonnie Sahlberg-6/+0
2014-09-03refs.c: make ref_transaction_begin take an err argumentRonnie Sahlberg-1/+1
2014-09-03refs.c: update ref_transaction_delete to check for error and return statusRonnie Sahlberg-4/+8
2014-09-03refs.c: change ref_transaction_create to do error checking and return statusRonnie Sahlberg-7/+41
2014-09-02stylefix: asterisks stick to the variable, not the typeDavid Aguilar-1/+1
2014-07-21Merge branch 'rs/unify-is-branch'Junio C Hamano-0/+2
2014-07-16refs.c: add a public is_branch functionRonnie Sahlberg-0/+2
2014-07-14refs.c: change ref_transaction_update() to do error checking and return statusRonnie Sahlberg-5/+9
2014-07-14refs.c: remove the onerr argument to ref_transaction_commitRonnie Sahlberg-2/+1
2014-07-14refs.c: commit_packed_refs to return a meaningful errno on failureRonnie Sahlberg-0/+1
2014-07-14refs.c: verify_lock should set errno to something meaningfulRonnie Sahlberg-1/+5
2014-07-14refs.c: make sure log_ref_setup returns a meaningful errnoRonnie Sahlberg-1/+3
2014-07-14refs.c: add an err argument to repack_without_refsRonnie Sahlberg-1/+2
2014-07-14lockfile.c: make lock_file return a meaningful errno on failureiRonnie Sahlberg-0/+1
2014-07-14refs.c: add a strbuf argument to ref_transaction_commit for error loggingRonnie Sahlberg-1/+4
2014-07-14refs.c: constify the sha arguments for ref_transaction_create|delete|updateRonnie Sahlberg-3/+4
2014-07-14refs.c: ref_transaction_commit should not free the transactionRonnie Sahlberg-3/+2
2014-07-14refs.c: remove ref_transaction_rollbackRonnie Sahlberg-9/+7
2014-06-16Merge branch 'jl/remote-rm-prune'Junio C Hamano-0/+3
2014-06-06Merge branch 'rs/reflog-exists'Junio C Hamano-0/+6
2014-05-27remote prune: optimize "dangling symref" check/warningJens Lindström-0/+1
2014-05-27remote: repack packed-refs once when deleting multiple refsJens Lindström-0/+2
2014-05-08refs.c: add new functions reflog_exists and delete_reflogRonnie Sahlberg-0/+6
2014-04-07struct ref_update: rename field "ref_name" to "refname"Michael Haggerty-1/+1
2014-04-07refs: remove API function update_refs()Michael Haggerty-20/+0