Explorar el Código

Remove "smart" alignment from git commiters

It does not work if the body is not trivial and narrow.
Alois Mahdal hace 7 años
padre
commit
974c00df98
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3
    3
      src/stub

+ 3
- 3
src/stub Ver fichero

@@ -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"   ;;