What steps will reproduce the problem?
What is the expected output? What do you see instead?
I am using git-flow and need to push & pull develop and master branch from gitblit.
It works fine several days ago but right now it produce
errors for develop branch (only for push, pull seems fine). The error messhage looks
like (master branch is exactly fine!!!)
[remote rejected] develop -> develop (n/a (unpacker error))
updating local tracking ref 'refs/remotes/origin/master'
error: failed to push some refs to 'https://email@example.com:xxxx/r/~xxx/workplace.git'
I try other branch (newly created), also shows the same message. And the same probelm
for all other repository.
I then try to restart the gitblit and windows, nothing changes...
I also try to delete the repository from the webUI, it shows error messages too.
What version of the product are you using? On what operating system?
v1.4.1 (windows 7 64bit)
Please provide any additional information below.
Reported by ray4working on 2014-04-17 00:49:57
The text was updated successfully, but these errors were encountered:
This appears to be a bug in JGit [1, 2]. You didn't share the server-side stacktraces,
but I will assume they each point to the same thing: missing tree or missing blob.
Newer git clients are optimized to send less data on the wire. JGit doesn't like this
at the moment. There is a receive pack setting which may help, but Gitblit does not
allow you to configure it. I will take care of that later today for the upcoming 1.5.0
release, but that is just a workaround. To really fix this issue, JGit has to be updated
to handle the newer git client optimizations.
For now, it looks like the current client-side recommendation is to downgrade your
git client to an older version that isn't as smart/optimized. It looks like 1.8.3
or older might work.
Hi, Thank you very much.
I've done a clean installation yesterday (remove everything and push repos after clean
installation), so it is hard to directly test whether an older git client can solve
the problem(e.g. downgrade)at the moment. However, I am using sourcetree and the internal
git client is version 1.8.3 (so it seems that an even older version might be better,
though I have not tried them yet).
btw, I will built your updated version to see if it can reduce the problems(at least
Do I need to also report this issue to JGIT?