瀏覽代碼

Remove "smart" alignment from git commiters

It does not work if the body is not trivial and narrow.
Alois Mahdal 7 年之前
父節點
當前提交
974c00df98
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      src/stub

+ 3
- 3
src/stub 查看文件

@@ -514,20 +514,20 @@ mkcommit_backup() {
514 514
      || { warn "nothing to back up"; return 0; }
515 515
     git add .                           || return
516 516
     git rm -r --cached utils/mkit       || return
517
-    git commit -m "WIP [mkit/stub] backup"   || return
517
+    git commit -m "WIP [mkit/stub] backup" || return
518 518
 }
519 519
 
520 520
 mkcommit_mkit_code() {
521 521
     git ls-files --others \
522 522
       | grep -q -e '^utils/mkit$' -e '^utils/mkit/' \
523 523
      || return 0
524
-    git add utils/mkit                                         || return
524
+    git add utils/mkit || return
525 525
     git commit -m "WIP [mkit/stub] Add MKit version v$MKIT_VERSION" || return
526 526
 }
527 527
 
528 528
 mkcommit_mkit_conf() {
529
-    git add .                                                  || return
530 529
     local msg       # commit message (the important art
530
+    git add . || return
531 531
     case $Action in
532 532
         new)    msg="Add MKit configuration stub" ;;
533 533
         update) msg="Update MKit configuration"   ;;