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