Skip to content

Commit 6b6d09a

Browse files
committed
Merge pull request #175 from galaxyproject/fix-clone-bare-mode
Fix `clone --bare` mode
2 parents 834da4e + 5bbcc9a commit 6b6d09a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

planemo/git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ def command_clone(ctx, src, dest, bare=False):
99
"""
1010
bare_arg = ""
1111
if bare:
12-
bare_arg = "--bare "
13-
return "git clone%s '%s' '%s'" % (bare_arg, src, dest)
12+
bare_arg = "--bare"
13+
return "git clone %s '%s' '%s'" % (bare_arg, src, dest)
1414

1515

1616
def clone(*args, **kwds):

0 commit comments

Comments
 (0)