jgit/org.eclipse.jgit.lfs.server.../tst/org/eclipse/jgit/lfs/server/fs
Nail Samatov ad098b3b85 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>
2022-01-27 20:55:58 +01:00
..
CheckoutTest.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
DownloadTest.java Replace ExpectedException which was deprecated in junit 4.13 2020-01-24 15:46:08 +09:00
LfsServerTest.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
PushTest.java LFS: Fix error occurring during delete branch 2022-01-27 20:55:58 +01:00
UploadTest.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00