summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit5
1 files changed, 4 insertions, 1 deletions
diff --git a/dgit b/dgit
index 55cdc0c..dc2275d 100755
--- a/dgit
+++ b/dgit
@@ -306,8 +306,11 @@ sub push () {
runcmd qw(git fetch), $alioth_git,
map { "$_:refs/remotes/$remotename/$_" }
(mainbranch(), uploadbranch());
-
die <<END;
+ if (!is_fast_fwd(mainbranch
+xxx introduce remote_lref
+xxx use remote_lref everywhere
+
fetch from alioth
do fast forward check and maybe fake merge
push to uploading