summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'mh/reflog-expire'Junio C Hamano2015-02-111-82/+181
|\
| * refs.c: let fprintf handle the formattingmh/reflog-expireStefan Beller2014-12-221-5/+2
| * refs.c: don't expose the internal struct ref_lock in the header fileStefan Beller2014-12-221-0/+9
| * 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-12/+12
| * reflog_expire(): new function in the reference APIMichael Haggerty2014-12-221-0/+129
| * refs.c: add a function to append a reflog entry to a fdRonnie Sahlberg2014-12-121-18/+30
| * refs.c: make ref_transaction_delete a wrapper for ref_transaction_updateRonnie Sahlberg2014-12-041-20/+2
| * refs.c: make ref_transaction_create a wrapper for ref_transaction_updateRonnie Sahlberg2014-12-041-25/+2
* | Merge branch 'jk/blame-commit-label'Junio C Hamano2015-02-111-2/+1
|\ \
| * | use xstrdup_or_null to replace ternary conditionalsJeff King2015-01-131-2/+1
* | | refs: plug strbuf leak in lock_ref_sha1_basic()rs/plug-strbuf-leak-in-lock-refRené Scharfe2014-12-291-1/+1
* | | Merge branch 'jk/read-packed-refs-without-path-max'Junio C Hamano2014-12-221-21/+25
|\ \ \
| * | | read_packed_refs: use skip_prefix instead of static arrayjk/read-packed-refs-without-path-maxJeff King2014-12-101-3/+2
| * | | read_packed_refs: pass strbuf to parse_ref_lineJeff King2014-12-101-12/+15
| * | | read_packed_refs: use a strbuf for reading linesJeff King2014-12-101-9/+11
| * | | Merge branch 'jk/prune-top-level-refs-after-packing' into maintJunio C Hamano2014-09-191-1/+2
| |\ \ \
* | \ \ \ Merge branch 'jk/for-each-reflog-ent-reverse'Junio C Hamano2014-12-221-12/+37
|\ \ \ \ \
| * | | | | for_each_reflog_ent_reverse: turn leftover check into assertionjk/for-each-reflog-ent-reverseJeff King2014-12-051-1/+1
| * | | | | for_each_reflog_ent_reverse: fix newlines on block boundariesJeff King2014-12-051-11/+36
* | | | | | Merge branch 'mh/simplify-repack-without-refs'Junio C Hamano2014-12-221-18/+20
|\ \ \ \ \ \
| * | | | | | repack_without_refs(): make the refnames argument a string_listMichael Haggerty2014-11-251-18/+20
| | |_|_|_|/ | |/| | | |
* | | | | | lock_ref_sha1_basic: do not die on locking errorsjk/lock-ref-sha1-basic-return-errorsRonnie Sahlberg2014-11-201-2/+8
|/ / / / /
* | | | | 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
|\ \ \ \ \