2017-09-20 | for_each_string_list_item: avoid undefined behavior... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | files_transaction_finish(): delete reflogs before references Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | packed-backend: rip out some now-unused code Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | files_ref_store: use a transaction to update packed... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | t1404: demonstrate two problems with reference transactions Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | files_initial_transaction_commit(): use a transaction... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | prune_refs(): also free the linked list Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | files_pack_refs(): use a reference transaction to write... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | packed_delete_refs(): implement method Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | packed_ref_store: implement reference transactions Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | struct ref_transaction: add a place for backends to... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | packed-backend: don't adjust the reference count on... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-09-08 | load_subtree(): check that `prefix_len` is in the expected... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | load_subtree(): declare some variables to be `size_t` Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | hex_to_bytes(): simpler replacement for `get_oid_hex_segment()` Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | get_oid_hex_segment(): don't pad the rest of `oid` Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | load_subtree(): combine some common code Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | get_oid_hex_segment(): return 0 on success Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | load_subtree(): only consider blobs to be potential... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | load_subtree(): check earlier whether an internal node... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | load_subtree(): separate logic for internal vs. terminal... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | load_subtree(): fix incorrect comment Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | load_subtree(): reduce the scope of some local variables Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | load_subtree(): remove unnecessary conditional Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-26 | notes: make GET_NIBBLE macro more robust Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-23 | refs: retry acquiring reference locks for 100ms Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-08-17 | files-backend: cheapen refname_available check when... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-07-27 | packed_ref_store: handle a packed-refs file that is... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-07-03 | read_packed_refs(): die if `packed-refs` contains bogus... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-07-03 | t3210: add some tests of bogus packed-refs file contents Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-07-03 | repack_without_refs(): don't lock or unlock the packed... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | commit_packed_refs(): remove call to `packed_refs_unlock()` Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | clear_packed_ref_cache(): don't protest if the lock... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | packed_refs_unlock(), packed_refs_is_locked(): new... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | packed_refs_lock(): report errors via a `struct strbuf... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | packed_refs_lock(): function renamed from lock_packed_refs() Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | commit_packed_refs(): use a staging file separate from... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | commit_packed_refs(): report errors rather than dying Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | packed_ref_store: make class into a subclass of `ref_store` Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | packed-backend: new module for handling packed references Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | packed_read_raw_ref(): new function, replacing `resolve_pack... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | packed_ref_store: support iteration Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | packed_peel_ref(): new function, extracted from `files_peel_... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | repack_without_refs(): take a `packed_ref_store *`... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | get_packed_ref(): take a `packed_ref_store *` parameter Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | rollback_packed_refs(): take a `packed_ref_store *... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | commit_packed_refs(): take a `packed_ref_store *` parameter Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | lock_packed_refs(): take a `packed_ref_store *` parameter Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | add_packed_ref(): take a `packed_ref_store *` parameter Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | get_packed_refs(): take a `packed_ref_store *` parameter Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | get_packed_ref_cache(): take a `packed_ref_store *... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | validate_packed_ref_cache(): take a `packed_ref_store... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | clear_packed_ref_cache(): take a `packed_ref_store... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | packed_ref_store: move `packed_refs_lock` member here Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | packed_ref_store: move `packed_refs_path` here Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | packed_ref_store: new struct Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-23 | add_packed_ref(): teach function to overwrite existing... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-19 | for_each_bisect_ref(): don't trim refnames Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-06-12 | lock_packed_refs(): fix cache validity check Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-24 | cache_ref_iterator_begin(): avoid priming unneeded... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | create_ref_entry(): remove `check_name` option Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | refs_ref_iterator_begin(): handle `GIT_REF_PARANOIA` Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | read_packed_refs(): report unexpected fopen() failures Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | read_packed_refs(): do more of the work of reading... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | get_packed_ref_cache(): assume "packed-refs" won't... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | should_pack_ref(): new function, extracted from `files_pack_... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | ref_update_reject_duplicates(): add a sanity check Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | ref_update_reject_duplicates(): use `size_t` rather... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | ref_update_reject_duplicates(): expose function to... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | ref_transaction_prepare(): new optional step for reference... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | ref_transaction_commit(): check for valid `transaction... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | files_transaction_cleanup(): new helper function Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | files_ref_store: put the packed files lock directly... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | files-backend: move `lock` member to `files_ref_store` Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | lockfile: add a new method, is_lock_file_locked() Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | ref_store: take a `msg` parameter when deleting references Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | refs: use `size_t` indexes when iterating over ref... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | refs_ref_iterator_begin(): don't check prefixes redundantly Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | prefix_ref_iterator: don't trim too much Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | files-backend: use `die("BUG: ...")`, not `die("internal... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | ref_iterator_begin_fn(): fix docstring Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | refs.h: clarify docstring for the ref_transaction_update... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-05-23 | t3600: clean up permissions test properly Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | do_for_each_entry_in_dir(): delete function Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | files_pack_refs(): use reference iteration Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | commit_packed_refs(): use reference iteration Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | cache_ref_iterator_begin(): make function smarter Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | get_loose_ref_cache(): new function Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | get_loose_ref_dir(): function renamed from get_loose_refs() Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | do_for_each_entry_in_dir(): eliminate `offset` argument Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | refs: handle "refs/bisect/" in `loose_fill_ref_dir()` Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | ref-cache: use a callback function to fill the cache Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | refs: record the ref_store in ref_cache, not ref_dir Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | ref-cache: introduce a new type, ref_cache Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | refs: split `ref_cache` code into separate files Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | ref-cache: rename `remove_entry()` to `remove_entry_from_dir()` Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | ref-cache: rename `find_ref()` to `find_ref_entry()` Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | ref-cache: rename `add_ref()` to `add_ref_entry()` Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | refs_verify_refname_available(): use function in more... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-17 | refs_verify_refname_available(): implement once for... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |