72 Commits (70af7662d47ac9f450c248720a379a8db817163b)

Author SHA1 Message Date
brian m. carlson c368dde924 coccinelle: apply object_id Coccinelle transformations 9 years ago
Michael Haggerty 841caad903 lock_ref_for_update(): avoid a symref resolution 9 years ago
Michael Haggerty e3f510393c lock_ref_for_update(): make error handling more uniform 9 years ago
Michael Haggerty 2880d16f09 for_each_reflog(): reimplement using iterators 9 years ago
Michael Haggerty d24b21e9fc for_each_reflog(): don't abort for bad references 9 years ago
Michael Haggerty 4c4de89573 do_for_each_ref(): reimplement using reference iteration 9 years ago
Michael Haggerty 3bc581b940 refs: introduce an iterator interface 9 years ago
Michael Haggerty a873924483 ref_resolves_to_object(): new function 9 years ago
Michael Haggerty ffeef64231 entry_resolves_to_object(): rename function from ref_resolves_to_object() 9 years ago
Michael Haggerty 2eed2780f0 get_ref_cache(): only create an instance if there is a submodule 9 years ago
Michael Haggerty c5f04dddb6 delete_refs(): add a flags argument 9 years ago
Michael Haggerty 4633a846f5 refs: use name "prefix" consistently 9 years ago
Michael Haggerty 067622b0e8 do_for_each_ref(): move docstring to the header file 9 years ago
Michael Haggerty 7a418f3a17 lock_ref_sha1_basic(): only handle REF_NODEREF mode 9 years ago
Michael Haggerty 5d9b2de4ef commit_ref_update(): remove the flags parameter 9 years ago
Michael Haggerty 6e30b2f652 lock_ref_for_update(): don't resolve symrefs 9 years ago
Michael Haggerty 8169d0d06a lock_ref_for_update(): don't re-read non-symbolic references 9 years ago
Michael Haggerty 92b1551b1d refs: resolve symbolic refs first 9 years ago
Michael Haggerty 8415d24746 unlock_ref(): move definition higher in the file 9 years ago
Michael Haggerty 165056b2fc lock_ref_for_update(): new function 9 years ago
Michael Haggerty 71564516de add_update(): initialize the whole ref_update 9 years ago
Michael Haggerty 3a8af7be8f verify_refname_available(): adjust constness in declaration 9 years ago
David Turner 12fd3496d1 refs: don't dereference on rename 9 years ago
David Turner d99aa884df refs: allow log-only updates 9 years ago
Michael Haggerty 5a563d4ad1 ref_transaction_commit(): correctly report close_ref() failure 9 years ago
Michael Haggerty c52ce248d6 ref_transaction_create(): disallow recursive pruning 9 years ago
Michael Haggerty 0568c8e9dc refs: make error messages more consistent 9 years ago
Michael Haggerty bcb497d0f8 lock_ref_sha1_basic(): remove unneeded local variable 9 years ago
Michael Haggerty cf596442c6 read_raw_ref(): move docstring to header file 9 years ago
Michael Haggerty bb462b0028 read_raw_ref(): improve docstring 9 years ago
Michael Haggerty 92b380931e read_raw_ref(): rename symref argument to referent 9 years ago
Michael Haggerty fa96ea1b88 read_raw_ref(): clear *type at start of function 9 years ago
Michael Haggerty 3a0b6b9aba read_raw_ref(): rename flags argument to type 9 years ago
Michael Haggerty efe472813d ref_transaction_commit(): remove local variables n and updates 9 years ago
Michael Haggerty e711b1af2e rename_ref(): remove unneeded local variable 9 years ago
Michael Haggerty 76fc394d50 commit_ref_update(): write error message to *err, not stderr 9 years ago
Michael Haggerty e167a5673e read_raw_ref(): don't get confused by an empty directory 9 years ago
Michael Haggerty 5387c0d883 commit_ref(): if there is an empty dir in the way, delete it 9 years ago
David Turner 41d796ed5c refs: on symref reflog expire, lock symref not referrent 9 years ago
David Turner 2d0663b216 refs: move resolve_ref_unsafe into common code 9 years ago
Michael Haggerty 89e8238965 read_raw_ref(): change flags parameter to unsigned int 9 years ago
Michael Haggerty 8c346fb1d7 files-backend: inline resolve_ref_1() into resolve_ref_unsafe() 9 years ago
Michael Haggerty 42a38cf788 read_raw_ref(): manage own scratch space 9 years ago
David Turner 7048653a73 files-backend: break out ref reading 9 years ago
Michael Haggerty afbe782fa3 resolve_ref_1(): eliminate local variable "bad_name" 9 years ago
Michael Haggerty e6702e570b resolve_ref_1(): reorder code 9 years ago
Michael Haggerty 90c28ae11c resolve_ref_1(): eliminate local variable 9 years ago
Michael Haggerty a70a93b794 resolve_ref_unsafe(): ensure flags is always set 9 years ago
Michael Haggerty 37da4227b2 resolve_ref_unsafe(): use for loop to count up to MAXDEPTH 9 years ago
Michael Haggerty 419c6f4c76 resolve_missing_loose_ref(): simplify semantics 9 years ago