judofyr/gash — pull request #8 by oleander (2012-02-26 23:04:03+00:00)
Title: Bug fixes

I had som difficulties just getting Gash up and running.
After some debugging I found these buggs.

The commits have been "tested" against a bare gash repo using the following code.

``` ruby
require "gash";
gash = Gash.new("/Users/linus/Desktop/gash.git")
gash["Example"] = "Data"
gash.commit("My commit message")
```

The example above crashed without the following patches in both Ruby 1.8 and 1.9.

Give me a poke of you want be to add some real tests.
If so, a basic spec skeleton, like I explained in #7 would be awesome.