git - Groovy jgit log -
i try use git.log on file author of file, in output have - org.eclipse.jgit.revwalk.revwalk@652f52aa
git git = git.open(new file(".")) iterable<revcommit> log = git.log().setmaxcount(1).addpath("db/changelog/own_orders.sql").call(); println log if (log == author_name) { println "return" }
how author of file git.log()
?
Comments
Post a Comment