Bug fix for merge diffs and a test. swann
authorDan Brook <broq@cpan.org>
Tue, 29 Jun 2010 09:48:16 +0000 (10:48 +0100)
committerDan Brook <broq@cpan.org>
Tue, 29 Jun 2010 09:48:16 +0000 (10:48 +0100)
commit31d2ac3c20b98aad099208e85c47d0ba10a164a5
treecfdc8071f729a0256a00a944d9d40d50053510d4
parent8d9a4e25eff27d0a5abe4c860bc3c8db5b42663a
Bug fix for merge diffs and a test.

In the case of the merge diff fix we now check if $parent has
something to be compared against before making a comparison.

The case of the t/00git_version.t fix is a little more
interesting. For reasons I don't fully understand running a program
which writes to stdout in scalar context has $! is set to 9 (aka
"Bad file descriptor"). Something to do with close-on-exec I think.
lib/Gitalist/Git/Object/Commit.pm
t/00git_version.t