X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit;h=12f7510033cbede7ee554e3106553da7636e2967;hp=f8795683056296d0bcda9c556085a601a2b0e3bb;hb=a044d7cb75d12393b4bdc4d652c250e2e677fb15;hpb=76af1d33368dacf18043ea5040acd550d7818ea2;ds=sidebyside diff --git a/dgit b/dgit index f8795683..12f75100 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 <