Revert "Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'"
This reverts commit991b4d47f0
, reversing changes made tobcd020f88e
.
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
|
||||
struct repository;
|
||||
struct ref_transaction;
|
||||
struct string_list;
|
||||
|
||||
/*
|
||||
* Support for storing references in a `packed-refs` file.
|
||||
@ -28,12 +27,6 @@ int packed_refs_lock(struct ref_store *ref_store, int flags, struct strbuf *err)
|
||||
void packed_refs_unlock(struct ref_store *ref_store);
|
||||
int packed_refs_is_locked(struct ref_store *ref_store);
|
||||
|
||||
int packed_refs_delete_refs(struct ref_store *ref_store,
|
||||
struct ref_transaction *transaction,
|
||||
const char *msg,
|
||||
struct string_list *refnames,
|
||||
unsigned int flags);
|
||||
|
||||
/*
|
||||
* Return true if `transaction` really needs to be carried out against
|
||||
* the specified packed_ref_store, or false if it can be skipped
|
||||
|
Reference in New Issue
Block a user