ReceivePack and preReceiveHook [message #1839060] |
Fri, 12 March 2021 03:19  |
Eclipse User |
|
|
|
Hi JGit team,
I run into some bugs when using the ReceivePack and PreReceivePack to reject some git pushes operations if the packSize exceeds the limit we set.
We choose to use customize the PreReceivePack to achieve this goal, the problem is even though the command is rejected, the packs is also written to the storage, and some garbage pack and idx files are written into our storage which will never been touched. I spend some time to look into your code, actually, the write pack operation happens before the preReceivePack. Any solution to avoid these garbage packs? Thanks.
Regards,
Tingting
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05321 seconds