clj-jgit/clj-jgit — pull request #6 by rplevy-draker (2012-09-28 23:53:49+00:00)
Title: expose "current branch" functionality + add a macro for unit tests

This pull request surfaces jgit's ability to report the current branch in a meaningful and convenient way.

In order to write some unit tests for this, I added a macro to helpers that creates a temporary git repo only for the purpose of testing functionality, and cleans up after itself. This macro can be used to cleanly test a number of other git functions in clj-jgit.