summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2015-02-11Merge branch 'jk/blame-commit-label'Libravatar Junio C Hamano1-2/+1
2015-01-13use xstrdup_or_null to replace ternary conditionalsLibravatar Jeff King1-2/+1
2014-12-29refs: plug strbuf leak in lock_ref_sha1_basic()Libravatar René Scharfe1-1/+1
2014-12-22Merge branch 'jk/read-packed-refs-without-path-max'Libravatar Junio C Hamano1-21/+25
2014-12-22Merge branch 'jk/for-each-reflog-ent-reverse'Libravatar Junio C Hamano1-12/+37
2014-12-22Merge branch 'mh/simplify-repack-without-refs'Libravatar Junio C Hamano1-18/+20
2014-12-10read_packed_refs: use skip_prefix instead of static arrayLibravatar Jeff King1-3/+2
2014-12-10read_packed_refs: pass strbuf to parse_ref_lineLibravatar Jeff King1-12/+15
2014-12-10read_packed_refs: use a strbuf for reading linesLibravatar Jeff King1-9/+11
2014-12-05for_each_reflog_ent_reverse: turn leftover check into assertionLibravatar Jeff King1-1/+1
2014-12-05for_each_reflog_ent_reverse: fix newlines on block boundariesLibravatar Jeff King1-11/+36
2014-11-25repack_without_refs(): make the refnames argument a string_listLibravatar Michael Haggerty1-18/+20
2014-11-20lock_ref_sha1_basic: do not die on locking errorsLibravatar Ronnie Sahlberg1-2/+8
2014-11-06Merge branch 'jk/fetch-reflog-df-conflict'Libravatar Junio C Hamano1-2/+2
2014-11-04ignore stale directories when checking reflog existenceLibravatar Jeff King1-2/+2
2014-10-15ref_transaction_commit: bail out on failure to remove a refLibravatar Jonathan Nieder1-2/+6
2014-10-15refs.c: do not permit err == NULLLibravatar Jonathan Nieder1-19/+27
2014-10-15refs.c: allow listing and deleting badly named refsLibravatar Ronnie Sahlberg1-29/+119
2014-10-15packed-ref cache: forbid dot-components in refnamesLibravatar Jonathan Nieder1-11/+3
2014-10-15branch -d: avoid repeated symref resolutionLibravatar Jonathan Nieder1-2/+15
2014-10-15refs.c: change resolve_ref_unsafe reading argument to be a flags fieldLibravatar Ronnie Sahlberg1-40/+53
2014-10-15refs.c: make write_ref_sha1 staticLibravatar Ronnie Sahlberg1-2/+8
2014-10-15refs.c: ref_transaction_commit: distinguish name conflicts from other errorsLibravatar Ronnie Sahlberg1-10/+16
2014-10-15refs.c: pass a list of names to skip to is_refname_availableLibravatar Ronnie Sahlberg1-18/+32
2014-10-15refs.c: call lock_ref_sha1_basic directly from commitLibravatar Ronnie Sahlberg1-6/+6
2014-10-15refs.c: refuse to lock badly named refs in lock_ref_sha1_basicLibravatar Ronnie Sahlberg1-2/+5
2014-10-15rename_ref: don't ask read_ref_full where the ref came fromLibravatar Ronnie Sahlberg1-1/+1
2014-10-15refs.c: pass the ref log message to _create/delete/update instead of _commitLibravatar Ronnie Sahlberg1-13/+21
2014-10-15refs.c: add an err argument to delete_ref_looseLibravatar Ronnie Sahlberg1-4/+5
2014-10-15refs.c: lock_ref_sha1_basic is used for all refsLibravatar Ronnie Sahlberg1-1/+1
2014-10-15wrapper.c: remove/unlink_or_warn: simplify, treat ENOENT as successLibravatar Ronnie Sahlberg1-1/+1
2014-10-01commit_packed_refs(): reimplement using fdopen_lock_file()Libravatar Michael Haggerty1-4/+1
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cLibravatar Michael Haggerty1-0/+1
2014-10-01get_locked_file_path(): new functionLibravatar Michael Haggerty1-3/+1
2014-10-01lockfile: rename LOCK_NODEREF to LOCK_NO_DEREFLibravatar Michael Haggerty1-1/+1
2014-10-01lockfile: change lock_file::filename into a strbufLibravatar Michael Haggerty1-3/+3
2014-10-01delete_ref_loose(): don't muck around in the lock_file's filenameLibravatar Michael Haggerty1-6/+9
2014-10-01cache.h: define constants LOCK_SUFFIX and LOCK_SUFFIX_LENLibravatar Michael Haggerty1-3/+4
2014-10-01unable_to_lock_die(): rename function from unable_to_lock_index_die()Libravatar Michael Haggerty1-1/+1
2014-09-29Merge branch 'da/rev-parse-verify-quiet'Libravatar Junio C Hamano1-3/+7
2014-09-26Merge branch 'jk/faster-name-conflicts'Libravatar Junio C Hamano1-32/+90
2014-09-26Merge branch 'jk/write-packed-refs-via-stdio'Libravatar Junio C Hamano1-23/+16
2014-09-19Merge branch 'jk/prune-top-level-refs-after-packing' into maintLibravatar Junio C Hamano1-1/+2
2014-09-19refs: make rev-parse --quiet actually quietLibravatar David Aguilar1-3/+7
2014-09-12refs: speed up is_refname_availableLibravatar Jeff King1-32/+90
2014-09-11Merge branch 'jk/prune-top-level-refs-after-packing'Libravatar Junio C Hamano1-1/+1
2014-09-11Merge branch 'rs/ref-transaction-1'Libravatar Junio C Hamano1-105/+140
2014-09-10refs: write packed_refs file using stdioLibravatar Jeff King1-23/+16
2014-09-03refs.c: make delete_ref use a transactionLibravatar Ronnie Sahlberg1-21/+14
2014-09-03refs.c: make prune_ref use a transaction to delete the refLibravatar Ronnie Sahlberg1-7/+21