summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'jk/fetch-reflog-df-conflict'Junio C Hamano2014-11-061-2/+2
|\
| * ignore stale directories when checking reflog existenceJeff King2014-11-041-2/+2
* | ref_transaction_commit: bail out on failure to remove a refrs/ref-transactionJonathan Nieder2014-10-151-2/+6
* | refs.c: do not permit err == NULLJonathan Nieder2014-10-151-19/+27
* | refs.c: allow listing and deleting badly named refsRonnie Sahlberg2014-10-151-29/+119
* | packed-ref cache: forbid dot-components in refnamesJonathan Nieder2014-10-151-11/+3
* | branch -d: avoid repeated symref resolutionJonathan Nieder2014-10-151-2/+15
* | refs.c: change resolve_ref_unsafe reading argument to be a flags fieldRonnie Sahlberg2014-10-151-40/+53
* | refs.c: make write_ref_sha1 staticRonnie Sahlberg2014-10-151-2/+8
* | refs.c: ref_transaction_commit: distinguish name conflicts from other errorsRonnie Sahlberg2014-10-151-10/+16
* | refs.c: pass a list of names to skip to is_refname_availableRonnie Sahlberg2014-10-151-18/+32
* | refs.c: call lock_ref_sha1_basic directly from commitRonnie Sahlberg2014-10-151-6/+6
* | refs.c: refuse to lock badly named refs in lock_ref_sha1_basicRonnie Sahlberg2014-10-151-2/+5
* | rename_ref: don't ask read_ref_full where the ref came fromRonnie Sahlberg2014-10-151-1/+1
* | refs.c: pass the ref log message to _create/delete/update instead of _commitRonnie Sahlberg2014-10-151-13/+21
* | refs.c: add an err argument to delete_ref_looseRonnie Sahlberg2014-10-151-4/+5
* | refs.c: lock_ref_sha1_basic is used for all refsRonnie Sahlberg2014-10-151-1/+1
* | wrapper.c: remove/unlink_or_warn: simplify, treat ENOENT as successRonnie Sahlberg2014-10-151-1/+1
* | commit_packed_refs(): reimplement using fdopen_lock_file()mh/lockfile-stdioMichael Haggerty2014-10-011-4/+1
* | lockfile.h: extract new header file for the functions in lockfile.cmh/lockfileMichael Haggerty2014-10-011-0/+1
* | get_locked_file_path(): new functionMichael Haggerty2014-10-011-3/+1
* | lockfile: rename LOCK_NODEREF to LOCK_NO_DEREFMichael Haggerty2014-10-011-1/+1
* | lockfile: change lock_file::filename into a strbufMichael Haggerty2014-10-011-3/+3
* | delete_ref_loose(): don't muck around in the lock_file's filenameMichael Haggerty2014-10-011-6/+9
* | cache.h: define constants LOCK_SUFFIX and LOCK_SUFFIX_LENMichael Haggerty2014-10-011-3/+4
* | unable_to_lock_die(): rename function from unable_to_lock_index_die()Michael Haggerty2014-10-011-1/+1
* | Merge branch 'da/rev-parse-verify-quiet'Junio C Hamano2014-09-291-3/+7
|\ \
| * | refs: make rev-parse --quiet actually quietDavid Aguilar2014-09-191-3/+7
* | | Merge branch 'jk/faster-name-conflicts'Junio C Hamano2014-09-261-32/+90
|\ \ \
| * | | refs: speed up is_refname_availablejk/faster-name-conflictsJeff King2014-09-121-32/+90
* | | | Merge branch 'jk/write-packed-refs-via-stdio'Junio C Hamano2014-09-261-23/+16
|\ \ \ \ | |_|/ / |/| | |
| * | | refs: write packed_refs file using stdiojk/write-packed-refs-via-stdioJeff King2014-09-101-23/+16
| |/ /
* | | Merge branch 'jk/prune-top-level-refs-after-packing'Junio C Hamano2014-09-111-1/+1
|\ \ \
| * | | pack-refs: prune top-level refs like "refs/foo"jk/prune-top-level-refs-after-packingJeff King2014-08-251-1/+2
| | |/ | |/|
| * | add object_as_type helper for casting objectsJeff King2014-07-281-2/+1
* | | Merge branch 'rs/ref-transaction-1'Junio C Hamano2014-09-111-105/+140
|\ \ \ | |_|/ |/| |
| * | refs.c: make delete_ref use a transactionRonnie Sahlberg2014-09-031-21/+14
| * | refs.c: make prune_ref use a transaction to delete the refRonnie Sahlberg2014-09-031-7/+21
| * | refs.c: remove lock_ref_sha1Ronnie Sahlberg2014-09-031-10/+5
| * | refs.c: remove the update_ref_write functionRonnie Sahlberg2014-09-031-26/+8
| * | refs.c: remove the update_ref_lock functionRonnie Sahlberg2014-09-031-24/+6
| * | refs.c: make lock_ref_sha1 staticRonnie Sahlberg2014-09-031-2/+5
| * | refs.c: change update_ref to use a transactionRonnie Sahlberg2014-09-031-4/+26
| * | refs.c: add transaction.status and track OPEN/CLOSEDRonnie Sahlberg2014-09-031-1/+33
| * | 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-5/+11
| * | refs.c: change ref_transaction_create to do error checking and return statusRonnie Sahlberg2014-09-031-6/+12
* | | Revert "Merge branch 'dt/refs-check-refname-component-sse'"Junio C Hamano2014-07-281-216/+18
* | | Revert "Merge branch 'dt/refs-check-refname-component-sse-fix'"Junio C Hamano2014-07-281-2/+1
* | | Merge branch 'jk/alloc-commit-id'Junio C Hamano2014-07-221-2/+1
|\ \ \