Hi all,

I was asking about Grit in the IRC channel, and it was suggested I
post here. Let me know if there's a better place!

I want to add a Repo#whatchanged method that returns an array of
Commit objects, similar to Repo#commits.

On top of Grit 2.0, I have loaded a file where I open up Grit::Git and
Grit::Repo. I need to patch Grit::Git#run to allow me to specify
command line options which come after 'git' but before the subcommand.
e.g. --no-pager

I'm encountering an error parsing the command response which has me
stumped:

https://gist.github.com/8ff57d691cca6a64a1bc

I've done everything I can think of to verify that the string of text
being passed to Commit.list_from_string is what I expect, yet the
error remains. I'm hoping I'm just too close to this right now or
something, because I feel at a complete loss over something that seems
like it shouldn't be so mysterious.

As a side note, I'm not convinced I'm using existing Grit APIs most
effectively, mainly because of that Grit::Git#run patch I made. Any
feedback about an alternative approach would be welcome.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to