clone: avoid enforcing master as default head
authorEsben Haabendal <esben.haabendal@prevas.dk>
Tue, 13 May 2014 09:08:18 +0000 (11:08 +0200)
committerEsben Haabendal <esben.haabendal@prevas.dk>
Tue, 13 May 2014 09:08:18 +0000 (11:08 +0200)
commit9c2652e5ff21b547a84d63adddb5c702bb6b4dc6
tree4e1bb41b943b1e46267a6f2e4f4affdc0f7a0743
parent8e1de0c584631b0a34dc1ca930b7472b58e7103f
clone: avoid enforcing master as default head

Although very common, a git repository can use a different branch than
master as default HEAD, so we should just let git figure out the default
branch if none is specified by the user.

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
oebakery/cmd/clone.py