git-restack/git_review
Darragh Bailey f78f328b17 Use plumbing rev-parse to get the branch name
Git plumbing command rev-parse is able to return the current branch
symbolic name in a machine readable manner and will return the rev
inputted (HEAD in this case) if no corresponding branch can be found
(detached HEAD).

This works on all versions of git since 1.6.3 and alternatively can be
replaced with 'git symbolic-ref --short -q HEAD' on versions 1.7.10 and
newer.

Change-Id: I486dcad4b73f9f06d7196e6888a4da79c7d574ad
2015-05-05 14:43:33 +01:00
..
tests Choose tracked branch for rebase when submitting 2015-03-18 09:17:34 -04:00
__init__.py Migrate to pbr. 2013-08-15 20:42:37 +00:00
cmd.py Use plumbing rev-parse to get the branch name 2015-05-05 14:43:33 +01:00