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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -