summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit3
1 files changed, 2 insertions, 1 deletions
diff --git a/dgit b/dgit
index 9e60cda..f1f9332 100755
--- a/dgit
+++ b/dgit
@@ -4435,7 +4435,8 @@ sub cmd_clone {
}
sub branchsuite () {
- my $branch = cmdoutput_errok @git, qw(symbolic-ref HEAD);
+ my @cmd = (@git, qw(symbolic-ref HEAD));
+ my $branch = cmdoutput_errok @cmd;
if ($branch =~ m#$lbranch_re#o) {
return $1;
} else {