summaryrefslogtreecommitdiff
path: root/refs.h
Commit message (Expand)AuthorAgeFilesLines
* refs.h: remove duplication in function docstringsmh/refs-have-newMichael Haggerty2015-02-171-23/+43
* update_ref(): improve documentationMichael Haggerty2015-02-171-3/+10
* ref_transaction_verify(): new function to check a reference's valueMichael Haggerty2015-02-171-8/+26
* ref_transaction_delete(): remove "have_old" parameterMichael Haggerty2015-02-171-3/+3
* ref_transaction_update(): remove "have_old" parameterMichael Haggerty2015-02-171-3/+3
* refs.c: change some "flags" to "unsigned int"Michael Haggerty2015-02-171-5/+5
* refs: move REF_DELETING to refs.cMichael Haggerty2015-02-121-3/+1
* Merge branch 'mh/reflog-expire'Junio C Hamano2015-02-111-27/+48
|\
| * refs.c: don't expose the internal struct ref_lock in the header fileStefan Beller2014-12-221-9/+0
| * lock_any_ref_for_update(): inline functionMichael Haggerty2014-12-221-8/+1
| * refs.c: remove unlock_ref/close_ref/commit_ref from the refs apiRonnie Sahlberg2014-12-221-9/+0
| * reflog_expire(): new function in the reference APIMichael Haggerty2014-12-221-0/+46
| * refs.c: make ref_transaction_delete a wrapper for ref_transaction_updateRonnie Sahlberg2014-12-041-1/+1
* | repack_without_refs(): make the refnames argument a string_listMichael Haggerty2014-11-251-1/+9
|/
* refs.c: allow listing and deleting badly named refsRonnie Sahlberg2014-10-151-2/+10
* packed-ref cache: forbid dot-components in refnamesJonathan Nieder2014-10-151-5/+1
* branch -d: avoid repeated symref resolutionJonathan Nieder2014-10-151-0/+2
* refs.c: make write_ref_sha1 staticRonnie Sahlberg2014-10-151-3/+0
* refs.c: ref_transaction_commit: distinguish name conflicts from other errorsRonnie Sahlberg2014-10-151-2/+7
* refs.c: pass the ref log message to _create/delete/update instead of _commitRonnie Sahlberg2014-10-151-6/+6
* Merge branch 'da/rev-parse-verify-quiet'Junio C Hamano2014-09-291-1/+2
|\
| * refs: make rev-parse --quiet actually quietDavid Aguilar2014-09-191-1/+2
* | Merge branch 'da/styles'Junio C Hamano2014-09-191-1/+1
|\ \ | |/ |/|
| * stylefix: asterisks stick to the variable, not the typeda/stylesDavid Aguilar2014-09-021-1/+1
* | Merge branch 'rs/ref-transaction-1'Junio C Hamano2014-09-111-18/+59
|\ \ | |/ |/|
| * refs.c: make prune_ref use a transaction to delete the refRonnie Sahlberg2014-09-031-2/+11
| * refs.c: make lock_ref_sha1 staticRonnie Sahlberg2014-09-031-6/+0
| * refs.c: make ref_transaction_begin take an err argumentRonnie Sahlberg2014-09-031-1/+1
| * refs.c: update ref_transaction_delete to check for error and return statusRonnie Sahlberg2014-09-031-4/+8
| * refs.c: change ref_transaction_create to do error checking and return statusRonnie Sahlberg2014-09-031-7/+41
* | Merge branch 'rs/unify-is-branch'Junio C Hamano2014-07-211-0/+2
|\ \ | |/ |/|
| * refs.c: add a public is_branch functionrs/unify-is-branchRonnie Sahlberg2014-07-161-0/+2
* | refs.c: change ref_transaction_update() to do error checking and return statusrs/ref-transaction-0Ronnie Sahlberg2014-07-141-5/+9
* | refs.c: remove the onerr argument to ref_transaction_commitRonnie Sahlberg2014-07-141-2/+1
* | refs.c: commit_packed_refs to return a meaningful errno on failureRonnie Sahlberg2014-07-141-0/+1
* | refs.c: verify_lock should set errno to something meaningfulRonnie Sahlberg2014-07-141-1/+5
* | refs.c: make sure log_ref_setup returns a meaningful errnoRonnie Sahlberg2014-07-141-1/+3
* | refs.c: add an err argument to repack_without_refsRonnie Sahlberg2014-07-141-1/+2
* | lockfile.c: make lock_file return a meaningful errno on failureiRonnie Sahlberg2014-07-141-0/+1
* | refs.c: add a strbuf argument to ref_transaction_commit for error loggingRonnie Sahlberg2014-07-141-1/+4
* | refs.c: constify the sha arguments for ref_transaction_create|delete|updateRonnie Sahlberg2014-07-141-3/+4
* | refs.c: ref_transaction_commit should not free the transactionRonnie Sahlberg2014-07-141-3/+2
* | refs.c: remove ref_transaction_rollbackRonnie Sahlberg2014-07-141-9/+7
* | Merge branch 'jl/remote-rm-prune'Junio C Hamano2014-06-161-0/+3
|\ \ | |/
| * remote prune: optimize "dangling symref" check/warningjl/remote-rm-pruneJens Lindström2014-05-271-0/+1
| * remote: repack packed-refs once when deleting multiple refsJens Lindström2014-05-271-0/+2
* | Merge branch 'rs/reflog-exists'Junio C Hamano2014-06-061-0/+6
|\ \
| * | refs.c: add new functions reflog_exists and delete_reflogRonnie Sahlberg2014-05-081-0/+6
| |/
* | struct ref_update: rename field "ref_name" to "refname"Michael Haggerty2014-04-071-1/+1
* | refs: remove API function update_refs()Michael Haggerty2014-04-071-20/+0