浏览代码

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

Alois Mahdal 9 年前
父节点
当前提交
4b2c7fabf8
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4
    1
      dotfiles/gittum/bin/slurp

+ 4
- 1
dotfiles/gittum/bin/slurp 查看文件

45
 
45
 
46
     git add .
46
     git add .
47
     git commit -m "$(mkmsg)"
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
 main
54
 main