raboof on main
Added support for different git… Merge pull request #197 from li… (compare)
raboof on main
Fix console reader issues (#219… (compare)
SethTisue on v2.0.0
git status
Error: Could not find or load main class org.eclipse.jgit.pgm.Main
[error] Nonzero exit code (1) running JGit.
scala> scala.sys.process.Process("git rev-parse --symbolic-full-name --abbrev-ref HEAD").!!.dropRight(1)
res0: String = master
git status
Error: Could not find or load main class org.eclipse.jgit.pgm.Main
[error] Nonzero exit code (1) running JGit.
// NOTE: this will always return 0 until sbt 0.13.1 due to the use of CustomOutput
if(code == 0) result else throw new MessageOnlyException("Nonzero exit code (" + code + ") running JGit.")
"org.eclipse.jgit" % "org.eclipse.jgit" % jgitVersion
useJGit
is not SettingKey
, it's a Setting
Setting
is already in ThisBuild
: https://github.com/sbt/sbt-git/blob/7e380cb63c7741bb42dad37d8f55b2bd917abca3/src/main/scala/com/typesafe/sbt/SbtGit.scala#L152def useJGit: Setting[_] = gitRunner in ThisBuild := JGitRunner