Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » ReceivePack and preReceiveHook
ReceivePack and preReceiveHook [message #1839060] Fri, 12 March 2021 08:19 Go to next message
tingting zhou is currently offline tingting zhouFriend
Messages: 1
Registered: March 2021
Junior Member
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.

Re: ReceivePack and preReceiveHook [message #1839071 is a reply to message #1839060] Fri, 12 March 2021 13:11 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1176
Registered: July 2009
Senior Member
I answered on your duplicate question on the mailing list
Previous Topic:cloning a repo with git-lfs support generates NumberFormatException: For input string: "t"
Next Topic:Applying personal access tokens
Goto Forum:

Current Time: Wed Jun 16 10:35:09 GMT 2021

Powered by FUDForum. Page generated in 0.01447 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top