summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2015-05-11rename_ref(): integrate lock_ref_sha1_basic() errors into oursLibravatar Michael Haggerty1-4/+2
2015-05-11lock_ref_sha1_basic(): improve diagnostics for ref D/F conflictsLibravatar Michael Haggerty1-4/+12
2015-05-11lock_ref_sha1_basic(): report errors via a "struct strbuf *err"Libravatar Michael Haggerty1-16/+28
2015-05-11verify_refname_available(): report errors via a "struct strbuf *err"Libravatar Michael Haggerty1-20/+30
2015-05-11verify_refname_available(): rename functionLibravatar Michael Haggerty1-17/+20
2015-05-11refs: check for D/F conflicts among refs created in a transactionLibravatar Michael Haggerty1-62/+94
2015-05-11ref_transaction_commit(): use a string_list for detecting duplicatesLibravatar Michael Haggerty1-14/+11
2015-05-11is_refname_available(): use dirname in first loopLibravatar Michael Haggerty1-14/+26
2015-05-11struct nonmatching_ref_data: store a refname instead of a ref_entryLibravatar Michael Haggerty1-3/+4
2015-05-11report_refname_conflict(): inline functionLibravatar Michael Haggerty1-8/+2
2015-05-11entry_matches(): inline functionLibravatar Michael Haggerty1-7/+2
2015-05-11is_refname_available(): convert local variable "dirname" to strbufLibravatar Michael Haggerty1-7/+5
2015-05-11is_refname_available(): avoid shadowing "dir" variableLibravatar Michael Haggerty1-2/+2
2015-05-11is_refname_available(): revamp the commentsLibravatar Michael Haggerty1-22/+47
2015-05-10refs.c: remove lock_fd from struct ref_lockLibravatar Stefan Beller1-10/+5
2015-04-16read_packed_refs: avoid double-checking sane refsLibravatar Jeff King1-2/+4
2015-03-25Merge branch 'jk/prune-with-corrupt-refs'Libravatar Junio C Hamano1-66/+6
2015-03-20refs.c: drop curate_packed_refsLibravatar Jeff King1-66/+1
2015-03-20refs: introduce a "ref paranoia" flagLibravatar Jeff King1-0/+5
2015-03-10Merge branch 'mh/expire-updateref-fixes'Libravatar Junio C Hamano1-28/+37
2015-03-05reflog_expire(): never update a reference to null_sha1Libravatar Michael Haggerty1-2/+5
2015-03-05reflog_expire(): ignore --updateref for symbolic referencesLibravatar Michael Haggerty1-3/+12
2015-03-05struct ref_lock: delete the force_write memberLibravatar Stefan Beller1-5/+9
2015-03-05lock_ref_sha1_basic(): do not set force_write for missing referencesLibravatar Michael Haggerty1-9/+6
2015-03-05write_ref_sha1(): move write elision test to callersLibravatar Michael Haggerty1-9/+9
2015-03-05write_ref_sha1(): remove check for lock == NULLLibravatar Michael Haggerty1-4/+0
2015-02-24Merge branch 'jk/blame-commit-label' into maintLibravatar Junio C Hamano1-2/+1
2015-02-17update_ref(): improve documentationLibravatar Michael Haggerty1-4/+4
2015-02-17ref_transaction_verify(): new function to check a reference's valueLibravatar Michael Haggerty1-8/+39
2015-02-17ref_transaction_delete(): check that old_sha1 is not null_sha1Libravatar Michael Haggerty1-0/+2
2015-02-17ref_transaction_create(): check that new_sha1 is validLibravatar Michael Haggerty1-0/+2
2015-02-17ref_transaction_delete(): remove "have_old" parameterLibravatar Michael Haggerty1-5/+6
2015-02-17ref_transaction_update(): remove "have_old" parameterLibravatar Michael Haggerty1-10/+8
2015-02-17struct ref_update: move "have_old" into "flags"Libravatar Michael Haggerty1-17/+28
2015-02-17refs.c: change some "flags" to "unsigned int"Libravatar Michael Haggerty1-9/+9
2015-02-12refs: remove the gap in the REF_* constant valuesLibravatar Michael Haggerty1-1/+2
2015-02-12refs: move REF_DELETING to refs.cLibravatar Michael Haggerty1-0/+6
2015-02-11Merge branch 'mh/reflog-expire'Libravatar Junio C Hamano1-82/+181
2015-02-11Merge branch 'jk/blame-commit-label'Libravatar Junio C Hamano1-2/+1
2015-02-09Merge branch 'mh/reflog-expire' into mh/ref-trans-value-checkLibravatar Junio C Hamano1-82/+181
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-22refs.c: let fprintf handle the formattingLibravatar Stefan Beller1-5/+2
2014-12-22refs.c: don't expose the internal struct ref_lock in the header fileLibravatar Stefan Beller1-0/+9
2014-12-22lock_any_ref_for_update(): inline functionLibravatar Michael Haggerty1-8/+1
2014-12-22refs.c: remove unlock_ref/close_ref/commit_ref from the refs apiLibravatar Ronnie Sahlberg1-12/+12
2014-12-22reflog_expire(): new function in the reference APILibravatar Michael Haggerty1-0/+129