aboutsummaryrefslogtreecommitdiffstats
path: root/refs.h
AgeCommit message (Expand)AuthorFilesLines
2014-10-15refs.c: allow listing and deleting badly named refsRonnie Sahlberg1-2/+10
2014-10-15packed-ref cache: forbid dot-components in refnamesJonathan Nieder1-5/+1
2014-10-15branch -d: avoid repeated symref resolutionJonathan Nieder1-0/+2
2014-10-15refs.c: make write_ref_sha1 staticRonnie Sahlberg1-3/+0
2014-10-15refs.c: ref_transaction_commit: distinguish name conflicts from other errorsRonnie Sahlberg1-2/+7
2014-10-15refs.c: pass the ref log message to _create/delete/update instead of _commitRonnie Sahlberg1-6/+6
2014-09-29Merge branch 'da/rev-parse-verify-quiet'Junio C Hamano1-1/+2
2014-09-19Merge branch 'da/styles'Junio C Hamano1-1/+1
2014-09-19refs: make rev-parse --quiet actually quietDavid Aguilar1-1/+2
2014-09-11Merge branch 'rs/ref-transaction-1'Junio C Hamano1-18/+59
2014-09-03refs.c: make prune_ref use a transaction to delete the refRonnie Sahlberg1-2/+11
2014-09-03refs.c: make lock_ref_sha1 staticRonnie Sahlberg1-6/+0
2014-09-03refs.c: make ref_transaction_begin take an err argumentRonnie Sahlberg1-1/+1
2014-09-03refs.c: update ref_transaction_delete to check for error and return statusRonnie Sahlberg1-4/+8
2014-09-03refs.c: change ref_transaction_create to do error checking and return statusRonnie Sahlberg1-7/+41
2014-09-02stylefix: asterisks stick to the variable, not the typeDavid Aguilar1-1/+1
2014-07-21Merge branch 'rs/unify-is-branch'Junio C Hamano1-0/+2
2014-07-16refs.c: add a public is_branch functionRonnie Sahlberg1-0/+2
2014-07-14refs.c: change ref_transaction_update() to do error checking and return statusRonnie Sahlberg1-5/+9
2014-07-14refs.c: remove the onerr argument to ref_transaction_commitRonnie Sahlberg1-2/+1
2014-07-14refs.c: commit_packed_refs to return a meaningful errno on failureRonnie Sahlberg1-0/+1
2014-07-14refs.c: verify_lock should set errno to something meaningfulRonnie Sahlberg1-1/+5
2014-07-14refs.c: make sure log_ref_setup returns a meaningful errnoRonnie Sahlberg1-1/+3
2014-07-14refs.c: add an err argument to repack_without_refsRonnie Sahlberg1-1/+2
2014-07-14lockfile.c: make lock_file return a meaningful errno on failureiRonnie Sahlberg1-0/+1
2014-07-14refs.c: add a strbuf argument to ref_transaction_commit for error loggingRonnie Sahlberg1-1/+4
2014-07-14refs.c: constify the sha arguments for ref_transaction_create|delete|updateRonnie Sahlberg1-3/+4
2014-07-14refs.c: ref_transaction_commit should not free the transactionRonnie Sahlberg1-3/+2
2014-07-14refs.c: remove ref_transaction_rollbackRonnie Sahlberg1-9/+7
2014-06-16Merge branch 'jl/remote-rm-prune'Junio C Hamano1-0/+3
2014-06-06Merge branch 'rs/reflog-exists'Junio C Hamano1-0/+6
2014-05-27remote prune: optimize "dangling symref" check/warningJens Lindström1-0/+1
2014-05-27remote: repack packed-refs once when deleting multiple refsJens Lindström1-0/+2
2014-05-08refs.c: add new functions reflog_exists and delete_reflogRonnie Sahlberg1-0/+6
2014-04-07struct ref_update: rename field "ref_name" to "refname"Michael Haggerty1-1/+1
2014-04-07refs: remove API function update_refs()Michael Haggerty1-20/+0
2014-04-07refs: add a concept of a reference transactionMichael Haggerty1-0/+65
2014-04-07update_refs(): fix constnessMichael Haggerty1-1/+1
2014-04-07refs.h: rename the action_on_err constantsMichael Haggerty1-2/+7
2013-11-01Merge branch 'sb/refs-code-cleanup'Junio C Hamano1-8/+0
2013-10-28refs: remove unused function invalidate_ref_cacheStefan Beller1-8/+0
2013-09-04refs: add update_refs for multiple simultaneous updatesBrad King1-0/+20
2013-08-30refs: report ref type from lock_any_ref_for_updateBrad King1-1/+1
2013-06-20refs: implement simple transactions for the packed-refs fileMichael Haggerty1-2/+24
2013-06-14Merge branch 'mh/reflife'Junio C Hamano1-6/+16
2013-06-02refs: document the lifetime of the args passed to each_ref_fnMichael Haggerty1-6/+16
2013-05-29Merge branch 'mh/packed-refs-various'Junio C Hamano1-0/+35
2013-05-01pack-refs: merge code from pack-refs.{c,h} into refs.{c,h}Michael Haggerty1-0/+14
2013-05-01peel_ref(): fix return value for non-peelable, not-current referenceMichael Haggerty1-0/+8
2013-05-01refs: document flags constants REF_*Michael Haggerty1-0/+13
2013-03-26Merge branch 'jc/reflog-reverse-walk'Junio C Hamano1-1/+1
2013-03-08reflog: add for_each_reflog_ent_reverse() APIJunio C Hamano1-1/+1
2013-02-07upload/receive-pack: allow hiding ref hierarchiesJunio C Hamano1-0/+3
2012-04-10refs: store references hierarchicallyMichael Haggerty1-2/+5
2012-02-12refs: remove the extra_refs APIMichael Haggerty1-8/+0
2012-01-17add_packed_ref(): new function in the refs API.Michael Haggerty1-0/+6
2011-12-12resolve_gitlink_ref(): improve docstringMichael Haggerty1-2/+6
2011-12-12refs: rename parameters result -> sha1Michael Haggerty1-1/+1
2011-12-12refs: rename "refname" variablesMichael Haggerty1-11/+15
2011-10-21Merge branch 'jc/broken-ref-dwim-fix'Junio C Hamano1-2/+3
2011-10-19resolve_ref(): expose REF_ISBROKEN flagJunio C Hamano1-2/+3
2011-10-16invalidate_ref_cache(): expose this function in the refs APIMichael Haggerty1-0/+8
2011-10-10Merge branch 'jp/get-ref-dir-unsorted'Junio C Hamano1-1/+1
2011-10-05add_ref(): verify that the refname is formatted correctlyMichael Haggerty1-1/+5
2011-10-05Change check_refname_format() to reject unnormalized refnamesMichael Haggerty1-1/+1
2011-10-05Change check_ref_format() to take a flags argumentMichael Haggerty1-5/+12
2011-08-17Merge branch 'js/ref-namespaces'Junio C Hamano1-0/+3
2011-07-06ref namespaces: infrastructureJosh Triplett1-0/+3
2011-06-29Merge branch 'jc/maint-1.7.3-checkout-describe'Junio C Hamano1-0/+1
2011-06-05checkout -b <name>: correctly detect existing branchJunio C Hamano1-0/+1
2010-07-07setup_revisions(): Allow walking history in a submoduleHeiko Voigt1-0/+8
2010-06-12log_ref_setup: don't return stack-allocated arrayThomas Rast1-1/+1
2010-06-02refs: split log_ref_write logic into log_ref_setupErick Mattos1-0/+3
2010-03-12Support showing notes from more than one notes treeThomas Rast1-0/+5
2010-01-20rev-parse --branches/--tags/--remotes=patternIlari Liusvaara1-0/+1
2010-01-20rev-parse --globIlari Liusvaara1-0/+1
2009-11-10teach warn_dangling_symref to take a FILE argumentJay Soffian1-1/+1
2009-05-31refs: add a "for_each_replace_ref" functionChristian Couder1-0/+1
2009-05-13Change prettify_ref to prettify_refnameFelipe Contreras1-1/+1
2009-04-13shorten_unambiguous_ref(): add strict modeBert Wesarg1-1/+1
2009-04-12Merge branch 'jk/show-upstream'Junio C Hamano1-0/+1
2009-04-07make get_short_ref a public functionJeff King1-0/+1
2009-04-04Merge branch 'cc/sha1-bsearch' into HEADJunio C Hamano1-0/+2
2009-03-30refs: add "for_each_ref_in" function to refactor "for_each_*_ref" functionsChristian Couder1-0/+1
2009-03-09Use a common function to get the pretty name of refsDaniel Barkalow1-0/+2
2009-02-10remote prune: warn dangling symrefsJunio C Hamano1-0/+5
2009-01-19Introduce for_each_recent_reflog_ent().Junio C Hamano1-0/+1
2008-05-04Allow for having for_each_ref() list extra refsDaniel Barkalow1-0/+9
2008-02-22refs.c: make close_ref() and commit_ref() non-staticBrandon Casey1-0/+6
2008-01-02lock_any_ref_for_update(): reject wildcard return from check_ref_formatJunio C Hamano1-1/+4
2007-11-15refs.c: Remove unused get_ref_sha1()Johannes Sixt1-3/+0
2007-09-05Function for updating refs.Carlos Rica1-0/+6
2007-05-10git-update-ref: add --no-deref option for overwriting/detaching refSven Verdoolaege1-1/+2
2007-04-10Add 'resolve_gitlink_ref()' helper functionLinus Torvalds1-0/+3
2007-02-03scan reflogs independently from refsNicolas Pitre1-0/+6
2007-01-28lock_ref_sha1_basic(): remember the original name of a ref when resolving itNicolas Pitre1-0/+1
2007-01-28make reflog filename independent from struct ref_lockNicolas Pitre1-1/+0
2007-01-19Extend read_ref_at() to be usable from places other than sha1_name.Junio C Hamano1-1/+1
2007-01-09Sanitize for_each_reflog_ent()Johannes Schindelin1-2/+2
2006-12-20add for_each_reflog_ent() iteratorJunio C Hamano1-0/+4
2006-12-05git-branch: let caller specify logmsgLars Hjemli1-1/+1
2006-12-05git-branch: add options and tests for branch renamingLars Hjemli1-0/+3
2006-11-21Store peeled refs in packed-refs (take 2).Junio C Hamano1-4/+3
2006-11-19Store peeled refs in packed-refs file.Junio C Hamano1-0/+4
2006-10-05ref-log: allow ref@{count} syntax.Junio C Hamano1-1/+1
2006-09-27Clean-up lock-ref implementationJunio C Hamano1-2/+2
2006-09-20Tell between packed, unpacked and symbolic refs.Junio C Hamano1-1/+3
2006-09-20Add callback data to for_each_ref() family.Junio C Hamano1-5/+6
2006-09-17Enable the packed refs file formatLinus Torvalds1-1/+1
2006-06-06ref-log: style fixes.Junio C Hamano1-3/+3
2006-06-06refs.c: convert it to use lockfile interface.Junio C Hamano1-1/+1
2006-05-19Force writing ref if it doesn't exist.Shawn Pearce1-0/+1
2006-05-17Support 'master@2 hours ago' syntaxShawn Pearce1-0/+3
2006-05-17Log ref updates to logs/refs/<ref>Shawn Pearce1-0/+1
2006-05-17Improve abstraction of ref lock/write.Shawn Pearce1-8/+16
2006-05-14Add "--branches", "--tags" and "--remotes" options to git-rev-parse.Sean1-0/+3
2005-07-05Add "git_path()" and "head_ref()" helper functions.Linus Torvalds1-0/+1
2005-07-03Fix up "for_each_ref()" to be more usable, and use it in git-fsck-cacheLinus Torvalds1-1/+1
2005-07-02Generalize the "show each ref" code in receice-packLinus Torvalds1-0/+6
2005-06-06[PATCH] Operations on refsDaniel Barkalow1-0/+21