aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs.server/resources/org
diff options
context:
space:
mode:
authorNail Samatov <sanail@yandex.ru>2022-01-21 19:30:51 +0300
committerThomas Wolf <thomas.wolf@paranor.ch>2022-01-27 20:55:58 +0100
commitad098b3b85c58fffd65b7daee03363b1e71d456c (patch)
tree804de299cc42e8ecc0f9db904d8764d04d5dfecb /org.eclipse.jgit.lfs.server/resources/org
parent27e554e465d043ed12914fd42554164c9333fc44 (diff)
downloadjgit-ad098b3b85c58fffd65b7daee03363b1e71d456c.tar.gz
jgit-ad098b3b85c58fffd65b7daee03363b1e71d456c.zip
LFS: Fix error occurring during delete branch
Fix TransportException occurring when deleting a branch and push that change to remote repository if BuiltinLFS is used to work with repository. When finding LFS pointers in RemoteRepUpdate, LfsPrePushHook fails to open ObjectReader with new object id equal to ObjectId.zeroId(). If update is a deleting update (new object id is zero id), we can assume that this update doesn't contain LFS Pointer and we can skip step with extracting LFS pointer for that RemoteRefUpdate. Bug: 578313 Change-Id: Ic4367978338b8234d39d9af0d9674490f79fc22d Signed-off-by: Nail Samatov <sanail@yandex.ru>
Diffstat (limited to 'org.eclipse.jgit.lfs.server/resources/org')
0 files changed, 0 insertions, 0 deletions