My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1333: Confusing error message when Git object size > maxObjectSizeLimit
1 person starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Jun 2012


Sign in to add a comment
 
Reported by eldroi...@gmail.com, Apr 17, 2012
Affected Version: 2.3

What steps will reproduce the problem?
1. Set maxObjectSizeLimit in gerrit.config to some number
2. Restart the server 
3. Create a commit that includes a file > maxObjectSizeLimit
4. Try pushing this commit

What is the expected output? What do you see instead?

The push fails (expected). However the Git Bash error message says the following:
fatal: Unpack error, check server log
fatal: sha1 file '<stdout>' write error: Invalid argument

In error_log I can see the JGit error that the object is too big. 

Git Bash error doesn't provide much information. It would be great if the JGit error would be displayed instead. 



Apr 17, 2012
#1 sop@google.com
What protocol did you push with, SSH or HTTP?
Status: AwaitingInformation
Apr 18, 2012
#2 eldroi...@gmail.com
SSH
Jun 26, 2012
Project Member #3 edwin.ke...@gmail.com
This was fixed by [1]. The fix is already released with Gerrit 2.4.1 [2].

[1] https://gerrit-review.googlesource.com/35840
[2] http://gerrit-documentation.googlecode.com/svn/ReleaseNotes/ReleaseNotes-2.4.1.html
Status: Released
Labels: FixedIn-2.4.1
Sign in to add a comment

Powered by Google Project Hosting