From 69eeaa5a725d20c6460771e224e441e7de23bffe Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Wed, 07 May 2014 13:02:02 -0400 Subject: [PATCH] Documentation --- 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