summaryrefslogtreecommitdiff
path: root/refs.h
Commit message (Expand)AuthorAgeFilesLines
* 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
| * refs: document flags constants REF_*Michael Haggerty2013-05-011-0/+13
* | Merge branch 'jc/reflog-reverse-walk'Junio C Hamano2013-03-261-1/+1
|\ \
| * | reflog: add for_each_reflog_ent_reverse() APIJunio C Hamano2013-03-081-1/+1
| |/
* | upload/receive-pack: allow hiding ref hierarchiesJunio C Hamano2013-02-071-0/+3
|/
* refs: store references hierarchicallyMichael Haggerty2012-04-101-2/+5
* refs: remove the extra_refs APImh/war-on-extra-refsMichael Haggerty2012-02-121-8/+0
* add_packed_ref(): new function in the refs API.Michael Haggerty2012-01-171-0/+6
* resolve_gitlink_ref(): improve docstringMichael Haggerty2011-12-121-2/+6
* refs: rename parameters result -> sha1Michael Haggerty2011-12-121-1/+1
* refs: rename "refname" variablesMichael Haggerty2011-12-121-11/+15
* Merge branch 'jc/broken-ref-dwim-fix'Junio C Hamano2011-10-211-2/+3
|\
| * resolve_ref(): expose REF_ISBROKEN flagJunio C Hamano2011-10-191-2/+3
* | invalidate_ref_cache(): expose this function in the refs APIMichael Haggerty2011-10-161-0/+8
* | Merge branch 'jp/get-ref-dir-unsorted'Junio C Hamano2011-10-101-1/+1
|\ \ | |/ |/|
* | add_ref(): verify that the refname is formatted correctlyMichael Haggerty2011-10-051-1/+5
* | Change check_refname_format() to reject unnormalized refnamesMichael Haggerty2011-10-051-1/+1
* | Change check_ref_format() to take a flags argumentMichael Haggerty2011-10-051-5/+12