summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
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-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
2014-12-12refs.c: add a function to append a reflog entry to a fdLibravatar Ronnie Sahlberg1-18/+30
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-12-04refs.c: make ref_transaction_delete a wrapper for ref_transaction_updateLibravatar Ronnie Sahlberg1-20/+2
2014-12-04refs.c: make ref_transaction_create a wrapper for ref_transaction_updateLibravatar Ronnie Sahlberg1-25/+2
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