summaryrefslogtreecommitdiff
path: root/refs.h
Commit message (Expand)AuthorAgeFilesLines
* 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
* | refs: add a concept of a reference transactionMichael Haggerty2014-04-071-0/+65
* | update_refs(): fix constnessMichael Haggerty2014-04-071-1/+1
* | refs.h: rename the action_on_err constantsMichael Haggerty2014-04-071-2/+7
|/
* Merge branch 'sb/refs-code-cleanup'Junio C Hamano2013-11-011-8/+0
|\
| * refs: remove unused function invalidate_ref_cacheStefan Beller2013-10-281-8/+0
* | refs: add update_refs for multiple simultaneous updatesBrad King2013-09-041-0/+20
* | refs: report ref type from lock_any_ref_for_updateBrad King2013-08-301-1/+1
|/
* refs: implement simple transactions for the packed-refs fileMichael Haggerty2013-06-201-2/+24
* Merge branch 'mh/reflife'Junio C Hamano2013-06-141-6/+16
|\
| * refs: document the lifetime of the args passed to each_ref_fnMichael Haggerty2013-06-021-6/+16
* | Merge branch 'mh/packed-refs-various'Junio C Hamano2013-05-291-0/+35
|\ \ | |/ |/|
| * pack-refs: merge code from pack-refs.{c,h} into refs.{c,h}Michael Haggerty2013-05-011-0/+14
| * peel_ref(): fix return value for non-peelable, not-current referenceMichael Haggerty2013-05-011-0/+8