From 11eb4b51accebf8a163e8f46f99b067eda80f7b9 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 23 May 2014 08:29:14 -0400 Subject: [PATCH] Remove GitBlit static singleton reference from localclone.groovy --- src/site/faq.mkd | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/site/faq.mkd b/src/site/faq.mkd index 1b522f8..160808d 100644 --- a/src/site/faq.mkd +++ b/src/site/faq.mkd @@ -1,5 +1,13 @@ ## Troubleshooting +### push failed for branch (n/a (unpacker error)) + +This is a bug in JGit (issue-408). TLDR: Newer git clients are optimized to send less data on the wire. JGit expects complete data to be sent, but there are scenarios where native git can optimize-out sending objects. By default, JGit requires everything sent be complete and referenceable. + +If you experience this, the workaround is to temporarily disable the reachable check for the receive pack, push, and then re-enable the setting. + + git.checkReferencedObjectsAreReachable = false + ### Eclipse/Egit/JGit complains that it "can't open upload pack"? There are a few ways this can occur: -- Gitblit v1.9.1