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 |
2017-04-14 | refs_ref_iterator_begin(): new function Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-14 | refs_read_raw_ref(): new function Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-04-14 | get_ref_dir(): don't call read_loose_refs() for "refs... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-02-13 | read_loose_refs(): read refs using resolve_ref_recursively() Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-02-10 | files_ref_store::submodule: use NULL for the main repository Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-02-10 | base_ref_store_init(): remove submodule argument Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-02-10 | refs: push the submodule attribute down Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-02-10 | refs: store submodule ref stores in a hashmap Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-02-10 | register_ref_store(): new function Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-02-10 | refs: remove some unnecessary handling of submodule... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-02-10 | refs: make some ref_store lookup functions private Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-02-10 | refs: reorder some function definitions Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | files_transaction_commit(): clean up empty directories Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | try_remove_empty_parents(): teach to remove parents... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | try_remove_empty_parents(): don't trash argument contents Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | try_remove_empty_parents(): rename parameter "name... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | delete_ref_loose(): inline function Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | delete_ref_loose(): derive loose reference path from... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | log_ref_write_1(): inline function Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | log_ref_setup(): manage the name of the reflog file... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | log_ref_write_1(): don't depend on logfile argument Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | log_ref_setup(): pass the open file descriptor back... Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | log_ref_setup(): improve robustness against races Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | log_ref_setup(): separate code for create vs non-create Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | log_ref_write(): inline function Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |
2017-01-08 | rename_tmp_log(): improve error reporting Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> |
diff | tree |