Procházet zdrojové kódy

Do not give error exit status if pushing is just not enabled

Alois Mahdal před 9 roky
rodič
revize
4b2c7fabf8
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4
    1
      dotfiles/gittum/bin/slurp

+ 4
- 1
dotfiles/gittum/bin/slurp Zobrazit soubor

@@ -45,7 +45,10 @@ main() {
45 45
 
46 46
     git add .
47 47
     git commit -m "$(mkmsg)"
48
-    $want_push && git push
48
+    if $want_push;
49
+    then
50
+        git push
51
+    fi
49 52
 }
50 53
 
51 54
 main