summaryrefslogtreecommitdiff
path: root/refs/files-backend.c
AgeCommit message (Expand)AuthorFilesLines
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
2018-05-08Merge branch 'sb/object-store-replace'Libravatar Junio C Hamano1-4/+0
2018-05-06Replace all die("BUG: ...") calls by BUG() onesLibravatar Johannes Schindelin1-10/+10
2018-04-12refs: store the main ref store inside the repository structLibravatar Stefan Beller1-4/+0
2018-03-30refs: use chdir_notify to update cached relative pathsLibravatar Jeff King1-0/+6
2018-02-13Merge branch 'mr/packed-ref-store-fix'Libravatar Junio C Hamano1-2/+1
2018-01-19files_initial_transaction_commit(): only unlock if lockedLibravatar Mathias Rav1-2/+1
2017-12-06Merge branch 'mh/avoid-rewriting-packed-refs' into maintLibravatar Junio C Hamano1-1/+17
2017-11-15Merge branch 'mh/tidy-ref-update-flags'Libravatar Junio C Hamano1-38/+94
2017-11-15Merge branch 'mh/avoid-rewriting-packed-refs'Libravatar Junio C Hamano1-1/+17
2017-11-06Merge branch 'bc/object-id'Libravatar Junio C Hamano1-57/+55
2017-11-06refs: update some more docs to use "oid" rather than "sha1"Libravatar Michael Haggerty1-10/+9
2017-11-06refs: rename constant `REF_ISPRUNING` to `REF_IS_PRUNING`Libravatar Michael Haggerty1-9/+9
2017-11-06refs: rename constant `REF_NODEREF` to `REF_NO_DEREF`Libravatar Michael Haggerty1-20/+20
2017-11-06refs: tidy up and adjust visibility of the `ref_update` flagsLibravatar Michael Haggerty1-0/+45
2017-11-06ref_transaction_add_update(): remove a checkLibravatar Michael Haggerty1-1/+6
2017-11-06prune_ref(): call `ref_transaction_add_update()` directlyLibravatar Michael Haggerty1-9/+16
2017-11-06files_transaction_prepare(): don't leak flags to packed transactionLibravatar Michael Haggerty1-2/+2
2017-10-30files-backend: don't rewrite the `packed-refs` file unnecessarilyLibravatar Michael Haggerty1-1/+17
2017-10-28Merge branch 'bc/object-id' into baseLibravatar Michael Haggerty1-57/+55
2017-10-26Merge branch 'mh/ref-locking-fix'Libravatar Junio C Hamano1-1/+1
2017-10-25files_transaction_prepare(): fix handling of ref lock failureLibravatar Michael Haggerty1-1/+1