Skip to content

Commit

Permalink
Documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst authored Sep 2, 2024
1 parent abc492f commit b9539a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/merge_tools/gitmerge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ branch1=$2
branch2=$3
strategy=$4

# perform merge
## Perform merge

cd "$clone_dir" || (echo "$0: cannot cd to $clone_dir" ; exit 1)

git checkout "$branch1" --force
Expand Down
4 changes: 4 additions & 0 deletions src/scripts/merge_tools/merge_plumelib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ branch2=$3
git_strategy=$4 #"-Xignore-space-change"
merge_strategy=$5 #"--only-adjacent"

## Perform merge

echo "$0: Merging $branch1 and $branch2 with git_strategy=$git_strategy and merge_strategy=$merge_strategy"

cd "$clone_dir" || (echo "$0: cannot cd to $clone_dir" ; exit 1)
Expand All @@ -24,6 +26,8 @@ git config --local mergetool.merge-plumelib.trustExitCode true
# shellcheck disable=SC2086
git merge --no-edit $git_strategy "$branch2"

## Now, run Plume-lib Merging to improve the result of `git merge`.

case "$merge_strategy" in
*"--no-imports"* | *"--only-adjacent"* | *"--only-annotations"* | *"--only-version-numbers"*)
# The "imports" merger is not being used, so don't use the "--all" command-line option.
Expand Down

0 comments on commit b9539a3

Please sign in to comment.