chiark / gitweb /
wip push
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 14 Aug 2013 18:17:48 +0000 (19:17 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 14 Aug 2013 18:17:48 +0000 (19:17 +0100)
dgit

diff --git a/dgit b/dgit
index f879568..12f7510 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -294,6 +294,9 @@ sub push () {
     my $tree = mktree_in_ud_from_only_subdir();
     chdir '../../../..' or die $!;
     runcmd qw(git diff --exit-code), $tree;
+    runcmd qw(git fetch), $alioth_git,
+        map { "$_:refs/remotes/$remotename/$_" }
+        (mainbranch(), uploadbranch());
     
     die <<END;
 fetch from alioth