Procházet zdrojové kódy

Cleanup gittum/slurp syntax

Alois Mahdal před 10 měsíci
rodič
revize
bbf84ad223
1 změnil soubory, kde provedl 5 přidání a 7 odebrání
  1. 5
    7
      dotfiles/config/gittum/bin/slurp

+ 5
- 7
dotfiles/config/gittum/bin/slurp Zobrazit soubor

110
     #
110
     #
111
     # Do the push (if allowed)
111
     # Do the push (if allowed)
112
     #
112
     #
113
-    if $force_push || allowed_push;
114
-    then
115
-        if has_flag ci; then
116
-            git push
117
-        else
118
-            git push -o ci.skip
119
-        fi
113
+    $force_push || allowed_push || return 0
114
+    if has_flag ci; then
115
+        git push
116
+    else
117
+        git push -o ci.skip
120
     fi
118
     fi
121
 }
119
 }
122
 
120