summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-08-14 19:17:48 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-08-14 19:17:48 +0100
commita044d7cb75d12393b4bdc4d652c250e2e677fb15 (patch)
treec8d8c3f580e532dd43a6d8a6158801eb8c8eb4c2
parent76af1d33368dacf18043ea5040acd550d7818ea2 (diff)
wip push
-rwxr-xr-xdgit3
1 files changed, 3 insertions, 0 deletions
diff --git a/dgit b/dgit
index f879568..12f7510 100755
--- 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