chiark / gitweb /
wip changes for remote push - fixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 24 Sep 2013 22:56:03 +0000 (23:56 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 24 Sep 2013 22:56:03 +0000 (23:56 +0100)
debian/changelog
dgit

index e473f2b2f949f546941610e1ec9bbfbf59e65554..104b6bb23f840c8b90164b7e6ebba3bf3eb8572b 100644 (file)
@@ -1,3 +1,9 @@
+dgit (0.16~experimental2) experimental; urgency=low
+
+  * 
+
+ --
+
 dgit (0.16~experimental1) experimental; urgency=low
 
   * WIP remote functionality.  Untested, do not use.
diff --git a/dgit b/dgit
index 3a91929f7cbffb027e891fe8b86ec1a5327682a9..e8b6c3004a7cd299b8647faec2fbb02e2831ac46 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -998,11 +998,11 @@ END
        runcmd_ordryrun @sign_cmd;
        if (!$dryrun) {
            $tagobjfn = $tfn->('.signed.tmp');
-           runcmd shell_cmd "$tagobjfn", qw(cat --),
+           runcmd shell_cmd "exec >$tagobjfn", qw(cat --),
                $tfn->('.tmp'), $tfn->('.tmp.asc');
        }
     }
-    my $tag_obj_hash = runcmd @git, qw(hash-object -w -t tag), $tagobjfn;
+    my $tag_obj_hash = cmdoutput @git, qw(hash-object -w -t tag), $tagobjfn;
     runcmd_ordryrun @git, qw(verify-tag), $tag_obj_hash;
     runcmd_ordryrun @git, qw(update-ref), "refs/tags/$tag", $tag_obj_hash;
     runcmd_ordryrun @git, qw(tag -v --), $tag;