chiark / gitweb /
Combine pushes of version tag and suite branch into a single git-push. NFC.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 18 Jan 2014 22:51:52 +0000 (22:51 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 5 Mar 2014 18:29:02 +0000 (18:29 +0000)
dgit

diff --git a/dgit b/dgit
index 0a5de29..4c69b95 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1434,8 +1434,8 @@ sub dopush () {
     if (!check_for_git()) {
        create_remote_git_repo();
     }
-    runcmd_ordryrun @git, qw(push),access_giturl(),"HEAD:".rrref();
-    runcmd_ordryrun @git, qw(push),access_giturl(),"refs/tags/$tag";
+    runcmd_ordryrun @git, qw(push),access_giturl(),
+        "HEAD:".rrref(), "refs/tags/$tag";
     runcmd_ordryrun @git, qw(update-ref -m), 'dgit push', lrref(), 'HEAD';
 
     if (!$we_are_responder) {