More functions for Git Class


#1

The functions available in the Git class don’t seem to provide the ability to check the git log, or checkout specific commits. Could this be added?

Otherwise, a package could just execute git commands in the relevant directory, is that the way it should be done?


#2

That’s what I’m doing, so far at least. I wouldn’t take that as an “it should be done this way” endorsement, of course :wink:

There is also a git-utils package that uses libgit2 to add some additional integration. I haven’t played around with it yet, myself.


#3

Hmm, okay. Guess I’ll just be doing that.