summaryrefslogtreecommitdiff
path: root/refs/files-backend.c
AgeCommit message (Expand)AuthorFilesLines
2021-08-25refs file backend: move raceproof_create_file() hereLibravatar Ævar Arnfjörð Bjarmason1-0/+109
2021-08-25refs/files: remove unused "errno != ENOTDIR" conditionLibravatar Ævar Arnfjörð Bjarmason1-2/+1
2021-08-25refs/files: remove unused "errno == EISDIR" codeLibravatar Ævar Arnfjörð Bjarmason1-25/+3
2021-08-25refs/files: remove unused "oid" in lock_ref_oid_basic()Libravatar Ævar Arnfjörð Bjarmason1-56/+14
2021-08-25refs API: remove OID argument to reflog_expire()Libravatar Ævar Arnfjörð Bjarmason1-2/+1
2021-08-25reflog expire: don't lock reflogs using previously seen OIDLibravatar Ævar Arnfjörð Bjarmason1-2/+5
2021-08-25refs/files: add a comment about refs_reflog_exists() callLibravatar Ævar Arnfjörð Bjarmason1-0/+13
2021-08-25refs/files: remove unused "skip" in lock_raw_ref() tooLibravatar Ævar Arnfjörð Bjarmason1-5/+4
2021-08-25refs/files: remove unused "extras/skip" in lock_ref_oid_basic()Libravatar Ævar Arnfjörð Bjarmason1-15/+7
2021-08-25refs: drop unused "flags" parameter to lock_ref_oid_basic()Libravatar Jeff King1-7/+6
2021-08-19refs/files: remove unused REF_DELETING in lock_ref_oid_basic()Libravatar Ævar Arnfjörð Bjarmason1-2/+0
2021-05-16Merge branch 'wc/packed-ref-removal-cleanup'Libravatar Junio C Hamano1-6/+6
2021-05-11refs: cleanup directories when deleting packed refLibravatar Will Chandler1-6/+6
2021-04-27hash: provide per-algorithm null OIDsLibravatar brian m. carlson1-1/+1
2021-03-13use CALLOC_ARRAYLibravatar René Scharfe1-5/+5
2021-01-06refs/files-backend: don't peek into `struct lock_file`Libravatar Martin Ågren1-2/+2
2020-09-08refs: move REF_LOG_ONLY to refs-internal.hLibravatar Han-Wen Nienhuys1-7/+0
2020-08-19refs: move gitdir into base ref_storeLibravatar Han-Wen Nienhuys1-9/+6
2020-08-19refs: split off reading loose ref data in separate functionLibravatar Han-Wen Nienhuys1-15/+19
2020-07-31refs: move the logic to add \t to reflog to the files backendLibravatar Han-Wen Nienhuys1-1/+3
2020-07-10reflog: cleanse messages in the refs.c layerLibravatar Junio C Hamano1-1/+1
2020-03-30refs: fix segfault when aborting empty transactionLibravatar Patrick Steinhardt1-8/+10
2020-01-31C: use skip_prefix() to avoid hardcoded string lengthLibravatar Junio C Hamano1-2/+1
2019-12-11refs: pass NULL to refs_read_ref_full() because object ID is not neededLibravatar René Scharfe1-2/+2
2019-08-07dir-iterator: release strbuf after useLibravatar René Scharfe1-1/+3
2019-07-11dir-iterator: add flags parameter to dir_iterator_beginLibravatar Matheus Tavares1-1/+1
2019-07-11dir-iterator: refactor state machine modelLibravatar Matheus Tavares1-4/+13
2019-04-16Merge branch 'jk/refs-double-abort'Libravatar Junio C Hamano1-1/+15
2019-04-10Merge branch 'nd/rewritten-ref-is-per-worktree'Libravatar Junio C Hamano1-22/+28
2019-03-22refs/files-backend: don't look at an aborted transactionLibravatar Jeff King1-1/+5
2019-03-22refs/files-backend: handle packed transaction prepare failureLibravatar Jeff King1-0/+10
2019-03-08Make sure refs/rewritten/ is per-worktreeLibravatar Nguyễn Thái Ngọc Duy1-2/+2
2019-03-08files-backend.c: reduce duplication in add_per_worktree_entries_to_dir()Libravatar Nguyễn Thái Ngọc Duy1-11/+11
2019-03-08files-backend.c: factor out per-worktree code in loose_fill_ref_dir()Libravatar Nguyễn Thái Ngọc Duy1-22/+28
2019-02-14files-backend: drop refs parameter from split_symref_update()Libravatar Jeff King1-3/+2
2018-11-26files-backend.c: fix build error on SolarisLibravatar Nguyễn Thái Ngọc Duy1-1/+2
2018-10-22refs: new ref types to make per-worktree refs visible to all worktreesLibravatar Nguyễn Thái Ngọc Duy1-0/+28
2018-10-07Add a place for (not) sharing stuff between worktreesLibravatar Nguyễn Thái Ngọc Duy1-3/+11
2018-08-29convert "oidcmp() != 0" to "!oideq()"Libravatar Jeff King1-1/+1
2018-08-29convert "oidcmp() == 0" to oideq()Libravatar Jeff King1-2/+2
2018-08-15Merge branch 'jk/size-t'Libravatar Junio C Hamano1-1/+1
2018-08-02Merge branch 'sb/object-store-lookup'Libravatar Junio C Hamano1-1/+1
2018-08-02Merge branch 'bc/object-id'Libravatar Junio C Hamano1-2/+2
2018-07-24pass st.st_size as hint for strbuf_readlink()Libravatar Jeff King1-1/+1
2018-07-16refs/files-backend: use the_hash_algo for writing refsLibravatar brian m. carlson1-2/+2
2018-07-10convert log_ref_write_fd() to use strbufLibravatar Ben Peart1-19/+10
2018-06-29object: add repository argument to parse_objectLibravatar Stefan Beller1-1/+1
2018-05-30Merge branch 'js/use-bug-macro'Libravatar Junio C Hamano1-10/+10
2018-05-30Merge branch 'ma/lockfile-cleanup'Libravatar Junio C Hamano1-1/+1
2018-05-10lock_file: make function-local locks non-staticLibravatar Martin Ågren1-1/+1