Skip to content

Commit

Permalink
Not edit message on next command
Browse files Browse the repository at this point in the history
  • Loading branch information
fpellet committed Sep 17, 2023
1 parent 390735b commit 66e485f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions run
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function addStepNavigationCommand(){
git add -A
git commit -m "Abort test"
git checkout -b ${workshopBranch}-${tag} ${tag}
git merge ${tag}-test1 > /dev/null
git merge --no-edit ${tag}-test1 > /dev/null
git checkout --ours .
git add .
git commit -m "Merge with test branch"
Expand Down Expand Up @@ -267,7 +267,7 @@ function addNavigationCommand(){
git add -A
git commit -m "Resolve test"
git merge $tag
git merge --no-edit $tag
EOF

if [ $testNum -eq 1 ]
Expand Down
4 changes: 2 additions & 2 deletions run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ PowerShell -ExecutionPolicy Bypass -File @@scriptname@@.ps1
$nextCommandTemplate = @"
git add -A
git commit -m "Resolve test"
git merge @@nexttag@@
git merge --no-edit @@nexttag@@
"@

$jumpToNextStepCommandTemplate = @"
git add -A
git commit -m "Abort test"
git checkout -b $workshopBranch-@@nexttag@@ @@nexttag@@
git merge @@nexttag@@-test1 *> `$null`
git merge --no-edit @@nexttag@@-test1 *> `$null`
git checkout --ours .
git add .
git commit -m "Merge with test branch"
Expand Down

0 comments on commit 66e485f

Please sign in to comment.