hg-fast-export.sh: replace awkward git-branch usage with git-for-each-ref
commit6632ce6f823b78c8fa5fb9051e479c2844c542a4
authorKyle J. McKay <mackyle@gmail.com>
Mon, 4 Jul 2016 06:35:06 +0000 (3 23:35 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 4 Jul 2016 06:35:06 +0000 (3 23:35 -0700)
tree0d8783f92faf78d7ae5ea5dc886e9bc61e411048
parent80ebfc9b27e77743b34929a1a194352edf0da39f
hg-fast-export.sh: replace awkward git-branch usage with git-for-each-ref

The porcelain "git-branch" command is not intended to necessarily be
machine readable.  Switch to the "git-for-each-ref" plumbing command
instead which streamlines the process of creating hg2git-heads.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
hg-fast-export.sh