File tree Expand file tree Collapse file tree 4 files changed +13
-5
lines changed
Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ checkoutWay() {
5959 git log --all --oneline
6060 echo " Select a commit to checkout:"
6161 read cname
62+ [ " $cname " = " " ] && waitonexit && return
6263 executeCommand " git checkout $cname -- ."
6364}
6465
Original file line number Diff line number Diff line change @@ -101,11 +101,11 @@ diffStatus() {
101101git fetch --all
102102menuInit " Working with diffs"
103103 submenuHead " Different diff options:"
104- menuItem a " actual branch vs. origin/actual branch. -> local repository vs. remote repository " headHead
105- menuItem b " actual working dir vs. actual branch last commit -> work dir vs. local repository " dirHead
106- menuItem c " actual working dir vs. other commits -> work dir vs. local repository " treeCommit
107- menuItem d " commit vs. commit -> local repository vs. local repository " commitCommit
108- menuItem e " branch vs. branch -> repository vs. repository (local/remote) " branchBranch
104+ menuItem a " actual branch vs. origin/actual branch" headHead
105+ menuItem b " actual working dir vs. actual branch last commit" dirHead
106+ menuItem c " actual working dir vs. other commits" treeCommit
107+ menuItem d " commit vs. commit" commitCommit
108+ menuItem e " branch vs. branch" branchBranch
109109 submenuHead " Specific diffs:"
110110 menuItem k " Diff since date" diffDate
111111 submenuHead " Other usefull stuff here:"
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ function pushActual() {
3838 commitChanges
3939 pushChanges
4040 fi
41+ waitonexit
4142}
4243
4344function pushChanges () {
Original file line number Diff line number Diff line change @@ -433,6 +433,7 @@ callKeyFunktion () {
433433 clear && actionBanner " $description "
434434 importantLog " $action "
435435 eval " $action "
436+ finishBanner " $description "
436437 return 1
437438 fi
438439 done
@@ -447,6 +448,11 @@ actionBanner() {
447448 coloredLog " $actionline " $clrWhite $clrGray && echo
448449}
449450
451+ finishBanner () {
452+ local bannerline=" $( r_pad " Command Execution finished" " 75" " " ) "
453+ coloredLog " $bannerline " $clrWhite $clrGray && echo
454+ }
455+
450456# ################################################
451457# Generates the menu from the menudatamap.
452458# Globals:
You can’t perform that action at this time.
0 commit comments