I have recently started to get another error when using Grancher:
/usr/lib/ruby/gems/1.8/gems/gash-0.1.3/lib/gash.rb:476:in `git': Error: mktree returned 32768. STDERR: fatal: input format error: 100644 blob inheritor_rb.html (Gash::Errors::Git)
from /usr/lib/ruby/gems/1.8/gems/gash-0.1.3/lib/gash.rb:420:in `to_tree!'
from /usr/lib/ruby/gems/1.8/gems/gash-0.1.3/lib/gash.rb:411:in `to_tree!'
from /usr/lib/ruby/gems/1.8/gems/gash-0.1.3/lib/gash.rb:454:in `each'
from /usr/lib/ruby/gems/1.8/gems/gash-0.1.3/lib/gash.rb:454:in `__send__'
from /usr/lib/ruby/gems/1.8/gems/gash-0.1.3/lib/gash.rb:454:in `method_missing'
from /usr/lib/ruby/gems/1.8/gems/gash-0.1.3/lib/gash.rb:409:in `to_tree!'
from /usr/lib/ruby/gems/1.8/gems/gash-0.1.3/lib/gash.rb:378:in `commit'
from /usr/lib/ruby/gems/1.8/gems/grancher-0.1/lib/grancher.rb:118:in `commit'
from /home/trans/Documents/programs/current/proutils/syckle/plug/syckle/services/grancher.rb:92:in `transfer'
I managed to get it working again by deleting the branch both locally and remotely.
That's bad, and is not supposed to happen. I should try to port Gash over to Grit (and possibly include it in Grit too), which should probably fix this.
That would be great. Any progress? I am still getting the error, though it's not always reported exactly the same way. Last time it was "gash.rb:476:in `git': Error: mktree returned 32768. STDERR: (Gash::Errors::Git)" But it aways happens for the same reason... if any of the files have changed just before grancher runs, it bombs. This happens when I use my build automation tool to generate the rdocs and then run grancher immediately after.