summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)Author
2015-03-25Merge branch 'jk/prune-with-corrupt-refs'Junio C Hamano
2015-03-20refs.c: drop curate_packed_refsJeff King
2015-03-20refs: introduce a "ref paranoia" flagJeff King
2015-03-10Merge branch 'mh/expire-updateref-fixes'Junio C Hamano
2015-03-05reflog_expire(): never update a reference to null_sha1Michael Haggerty
2015-03-05reflog_expire(): ignore --updateref for symbolic referencesMichael Haggerty
2015-03-05struct ref_lock: delete the force_write memberStefan Beller
2015-03-05lock_ref_sha1_basic(): do not set force_write for missing referencesMichael Haggerty
2015-03-05write_ref_sha1(): move write elision test to callersMichael Haggerty
2015-03-05write_ref_sha1(): remove check for lock == NULLMichael Haggerty
2015-02-25Merge branch 'jk/blame-commit-label' into maintJunio C Hamano
2015-02-17update_ref(): improve documentationMichael Haggerty
2015-02-17ref_transaction_verify(): new function to check a reference's valueMichael Haggerty
2015-02-17ref_transaction_delete(): check that old_sha1 is not null_sha1Michael Haggerty
2015-02-17ref_transaction_create(): check that new_sha1 is validMichael Haggerty
2015-02-17ref_transaction_delete(): remove "have_old" parameterMichael Haggerty
2015-02-17ref_transaction_update(): remove "have_old" parameterMichael Haggerty
2015-02-17struct ref_update: move "have_old" into "flags"Michael Haggerty
2015-02-17refs.c: change some "flags" to "unsigned int"Michael Haggerty
2015-02-12refs: remove the gap in the REF_* constant valuesMichael Haggerty
2015-02-12refs: move REF_DELETING to refs.cMichael Haggerty
2015-02-11Merge branch 'mh/reflog-expire'Junio C Hamano
2015-02-11Merge branch 'jk/blame-commit-label'Junio C Hamano
2015-02-09Merge branch 'mh/reflog-expire' into mh/ref-trans-value-checkJunio C Hamano
2015-01-13use xstrdup_or_null to replace ternary conditionalsJeff King
2014-12-29refs: plug strbuf leak in lock_ref_sha1_basic()René Scharfe
2014-12-22Merge branch 'jk/read-packed-refs-without-path-max'Junio C Hamano
2014-12-22Merge branch 'jk/for-each-reflog-ent-reverse'Junio C Hamano
2014-12-22Merge branch 'mh/simplify-repack-without-refs'Junio C Hamano
2014-12-22refs.c: let fprintf handle the formattingStefan Beller
2014-12-22refs.c: don't expose the internal struct ref_lock in the header fileStefan Beller
2014-12-22lock_any_ref_for_update(): inline functionMichael Haggerty
2014-12-22refs.c: remove unlock_ref/close_ref/commit_ref from the refs apiRonnie Sahlberg
2014-12-22reflog_expire(): new function in the reference APIMichael Haggerty
2014-12-12refs.c: add a function to append a reflog entry to a fdRonnie Sahlberg
2014-12-10read_packed_refs: use skip_prefix instead of static arrayJeff King
2014-12-10read_packed_refs: pass strbuf to parse_ref_lineJeff King
2014-12-10read_packed_refs: use a strbuf for reading linesJeff King
2014-12-05for_each_reflog_ent_reverse: turn leftover check into assertionJeff King
2014-12-05for_each_reflog_ent_reverse: fix newlines on block boundariesJeff King
2014-12-04refs.c: make ref_transaction_delete a wrapper for ref_transaction_updateRonnie Sahlberg
2014-12-04refs.c: make ref_transaction_create a wrapper for ref_transaction_updateRonnie Sahlberg
2014-11-25repack_without_refs(): make the refnames argument a string_listMichael Haggerty
2014-11-20lock_ref_sha1_basic: do not die on locking errorsRonnie Sahlberg
2014-11-06Merge branch 'jk/fetch-reflog-df-conflict'Junio C Hamano
2014-11-04ignore stale directories when checking reflog existenceJeff King
2014-10-15ref_transaction_commit: bail out on failure to remove a refJonathan Nieder
2014-10-15refs.c: do not permit err == NULLJonathan Nieder
2014-10-15refs.c: allow listing and deleting badly named refsRonnie Sahlberg
2014-10-15packed-ref cache: forbid dot-components in refnamesJonathan Nieder