Merge "Use full command instead of local alias."

This commit is contained in:
Treehugger Robot 2022-11-09 02:16:26 +00:00 committed by Gerrit Code Review
commit afeadc3561
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ function finalize_revert_local_changes_main() {
repo forall -c '\ repo forall -c '\
git checkout . ; git revert --abort ; git clean -fdx ;\ git checkout . ; git revert --abort ; git clean -fdx ;\
git checkout @ ; git b fina-step1 -D ; git reset --hard; \ git checkout @ ; git branch fina-step1 -D ; git reset --hard; \
repo start fina-step1 ; git checkout @ ; git b fina-step1 -D ;' repo start fina-step1 ; git checkout @ ; git b fina-step1 -D ;'
} }

View file

@ -9,7 +9,7 @@
function revert_to_unfinalized_state() { function revert_to_unfinalized_state() {
repo forall -c '\ repo forall -c '\
git checkout . ; git revert --abort ; git clean -fdx ;\ git checkout . ; git revert --abort ; git clean -fdx ;\
git checkout @ ; git b fina-step1 -D ; git reset --hard; \ git checkout @ ; git branch fina-step1 -D ; git reset --hard; \
repo start fina-step1 ; git checkout @ ; git b fina-step1 -D ;\ repo start fina-step1 ; git checkout @ ; git b fina-step1 -D ;\
baselineHash="$(git log --format=%H --no-merges --max-count=1 --grep ^FINALIZATION_STEP_1_BASELINE_COMMIT)" ;\ baselineHash="$(git log --format=%H --no-merges --max-count=1 --grep ^FINALIZATION_STEP_1_BASELINE_COMMIT)" ;\
if [[ $baselineHash ]]; then if [[ $baselineHash ]]; then