From 0d7fbbfc6484e3dc9ae5596b6d3460a278f86d8c Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 08 Sep 2014 13:49:52 -0400 Subject: [PATCH] Merged #161 "Allow Lucene indexing period to be configurable" --- 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