diff options
author | Saša Živkov <sasa.zivkov@sap.com> | 2022-10-21 16:32:03 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-02-03 10:18:47 +0100 |
commit | ed2cbd9e8a5714295d0651885ccf3f67088c59b0 (patch) | |
tree | 23b6583d5d0d15856df099b0e0ca42e2acfb0574 /Documentation | |
parent | e55bad514bc7e66b5a2b3406e4f28545f437b8f0 (diff) | |
download | jgit-ed2cbd9e8a5714295d0651885ccf3f67088c59b0.tar.gz jgit-ed2cbd9e8a5714295d0651885ccf3f67088c59b0.zip |
Allow to perform PackedBatchRefUpdate without locking loose refs
Add another newBatchUpdate method in the RefDirectory where we can
control if the created PackedBatchRefUpdate will lock the loose refs or
not.
This can be useful in cases when we run programs which have exclusive
access to a Git repository and we know that locking loose refs is
unnecessary and just a performance loss.
Change-Id: I7d0932eb1598a3871a2281b1a049021380234df9
(cherry picked from commit cb90ed08526bd51f04e5d72e3ba3cf5bd30c11e4)
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions