summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
...
| * | | | is_refname_available(): revamp the commentsMichael Haggerty2015-05-111-22/+47
* | | | | Merge branch 'mh/write-refs-sooner-2.4'Junio C Hamano2015-05-221-31/+82
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | ref_transaction_commit(): fix atomicity and avoid fd exhaustionMichael Haggerty2015-05-121-21/+53
| * | | | ref_transaction_commit(): remove the local flags variableMichael Haggerty2015-05-121-9/+9
| * | | | ref_transaction_commit(): inline call to write_ref_sha1()Michael Haggerty2015-05-121-18/+7
| * | | | rename_ref(): inline calls to write_ref_sha1() from this functionMichael Haggerty2015-05-121-4/+8
| * | | | commit_ref_update(): new function, extracted from write_ref_sha1()Michael Haggerty2015-05-121-7/+20
| * | | | write_ref_to_lockfile(): new function, extracted from write_ref_sha1()Michael Haggerty2015-05-121-4/+17
| |/ / /
* | | | Merge branch 'sb/ref-lock-lose-lock-fd'Junio C Hamano2015-05-191-10/+5
|\ \ \ \ | |_|/ / |/| | |
| * | | refs.c: remove lock_fd from struct ref_locksb/ref-lock-lose-lock-fdStefan Beller2015-05-101-10/+5
| |/ /
* | | Merge branch 'jk/reading-packed-refs'Junio C Hamano2015-05-111-2/+4
|\ \ \
| * | | read_packed_refs: avoid double-checking sane refsJeff King2015-04-161-2/+4
| |/ /
* | | Merge branch 'nd/multiple-work-trees'Junio C Hamano2015-05-111-13/+46
|\ \ \ | |/ / |/| |
| * | git_snpath(): retire and replace with strbuf_git_path()Nguyễn Thái Ngọc Duy2014-12-011-9/+42
| * | path.c: make get_pathname() call sites return const char *Nguyễn Thái Ngọc Duy2014-12-011-4/+4
* | | Merge branch 'jk/prune-with-corrupt-refs'Junio C Hamano2015-03-251-66/+6
|\ \ \ | | |/ | |/|
| * | refs.c: drop curate_packed_refsjk/prune-with-corrupt-refsJeff King2015-03-201-66/+1
| * | refs: introduce a "ref paranoia" flagJeff King2015-03-201-0/+5
| * | Merge branch 'jk/blame-commit-label' into maintJunio C Hamano2015-02-241-2/+1
| |\ \
* | \ \ Merge branch 'mh/expire-updateref-fixes'Junio C Hamano2015-03-101-28/+37
|\ \ \ \
| * | | | reflog_expire(): never update a reference to null_sha1mh/expire-updateref-fixesMichael Haggerty2015-03-051-2/+5
| * | | | reflog_expire(): ignore --updateref for symbolic referencesMichael Haggerty2015-03-051-3/+12
| * | | | struct ref_lock: delete the force_write memberStefan Beller2015-03-051-5/+9
| * | | | lock_ref_sha1_basic(): do not set force_write for missing referencesMichael Haggerty2015-03-051-9/+6
| * | | | write_ref_sha1(): move write elision test to callersMichael Haggerty2015-03-051-9/+9
| * | | | write_ref_sha1(): remove check for lock == NULLMichael Haggerty2015-03-051-4/+0
| * | | | Merge branch 'mh/reflog-expire' into mh/ref-trans-value-checkJunio C Hamano2015-02-091-82/+181
| |\ \ \ \ | | |/ / / | |/| | |
* | | | | update_ref(): improve documentationMichael Haggerty2015-02-171-4/+4
* | | | | ref_transaction_verify(): new function to check a reference's valueMichael Haggerty2015-02-171-8/+39
* | | | | ref_transaction_delete(): check that old_sha1 is not null_sha1Michael Haggerty2015-02-171-0/+2
* | | | | ref_transaction_create(): check that new_sha1 is validMichael Haggerty2015-02-171-0/+2
* | | | | ref_transaction_delete(): remove "have_old" parameterMichael Haggerty2015-02-171-5/+6
* | | | | ref_transaction_update(): remove "have_old" parameterMichael Haggerty2015-02-171-10/+8
* | | | | struct ref_update: move "have_old" into "flags"Michael Haggerty2015-02-171-17/+28
* | | | | refs.c: change some "flags" to "unsigned int"Michael Haggerty2015-02-171-9/+9
* | | | | refs: remove the gap in the REF_* constant valuesMichael Haggerty2015-02-121-1/+2
* | | | | refs: move REF_DELETING to refs.cMichael Haggerty2015-02-121-0/+6
* | | | | 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
|\ \ \