sbt/sbt-git-plugin — pull request #13 by ezh (2012-08-12 18:36:55+00:00)
Title: fix misbehaviour with error log level in ConsoleGitRunner

before:

[debug] /home/ezh/.sbt/ghpages/org.alexboisvert/stopwatch$ git add .
[debug]
[debug] /home/ezh/.sbt/ghpages/org.alexboisvert/stopwatch$ git commit -m updated site --allow-empty
[debug] [gh-pages 277aa9d] updated site
[debug] /home/ezh/.sbt/ghpages/org.alexboisvert/stopwatch$ git push
__[error]__ To git@github.com:sbt-android-mill/stopwatch.git _<--- very confusing_
__[error]__ 69173b9..277aa9d gh-pages -> gh-pages _<--- especialy if you didn't read sources. I tried to resolve what is wrong with my github account before inspect your code. Few wasted hours :-(_
[debug]

after:

[debug] /home/ezh/.sbt/ghpages/org.alexboisvert/stopwatch$ git add .
[debug] /home/ezh/.sbt/ghpages/org.alexboisvert/stopwatch$ git commit -m updated site --allow-empty
[info] [gh-pages 13ac7c7] updated site
[debug] /home/ezh/.sbt/ghpages/org.alexboisvert/stopwatch$ git push
__[info]__ To git@github.com:sbt-android-mill/stopwatch.git _<--- much better!_
__[info]__ 6087e66..13ac7c7 gh-pages -> gh-pages
[success] Total time: 7 s, completed 12.08.2012 22:21:23

I added little wrapper that reduce log level from Error to Info if exit code is zero. If return code != zero, restore original log levels

Please, remove or update jsuereth/sbt-git-plugin. I tried to clone jsuereth/sbt-git-plugin first, because it was origin. And it was outdated. After that I found sbt/sbt-git-plugin

Thank you.

King regards,
Alexey