Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjacent plus plumelib plus app pre9 #373

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
94df8e2
Rename `plumelib_ort_adjacent` => `adjacent`
mernst Sep 16, 2024
8dbc924
Rename two more scripts
mernst Sep 17, 2024
64e0499
Rename two more scripts
mernst Sep 17, 2024
abcf44a
Rename two more scripts
mernst Sep 17, 2024
b393866
Merge ../AST-Merging-Evaluation-fork-mernst-branch-plumelib-script-na…
mernst Sep 17, 2024
569f857
Don't use non-existent scripts yet
mernst Sep 17, 2024
6a11592
Merge ../AST-Merging-Evaluation-fork-mernst-branch-plumelib-script-na…
mernst Sep 17, 2024
b4bae88
Comment about unneeded scripts
mernst Sep 17, 2024
cf8ab1c
Remove non-existent scripts
mernst Sep 17, 2024
e5c5370
Merge ../AST-Merging-Evaluation-fork-mernst-branch-plumelib-script-na…
mernst Sep 17, 2024
bb3dad0
Update goals
mernst Sep 17, 2024
7ec7ee1
Revert test results for better visibility
benedikt-schesch Sep 17, 2024
0728653
Merged main
benedikt-schesch Sep 17, 2024
5f20e4c
Rename tools
mernst Sep 18, 2024
083d6d4
Fix name of script in `mergetool..cmd`
mernst Sep 19, 2024
503eb35
Improve diagnostics
mernst Sep 19, 2024
de995e5
Update plume-lib merging
mernst Sep 19, 2024
a6b4ac1
Fix target name
mernst Sep 19, 2024
f4654f9
Improve Python style
mernst Sep 19, 2024
c98eb96
Update small-test goals
mernst Sep 19, 2024
b5d9e2e
How to update small-test goals
mernst Sep 19, 2024
d29359f
Improve diagnostic
mernst Sep 19, 2024
97f169e
Merge branch 'plm-script-name' of github.com:mernst/AST-Merging-Evalu…
mernst Sep 19, 2024
4a07bd3
Initialize variables
mernst Sep 19, 2024
b5766fe
Update goal
mernst Sep 19, 2024
c5c0d2a
Merge ../AST-Merging-Evaluation-fork-mernst-branch-plm-script-name in…
mernst Sep 19, 2024
57d3829
Update submodule
mernst Sep 19, 2024
fd4be43
Fix behavior
mernst Sep 19, 2024
dc49ce2
Add a complete set of "_plus" scripts
mernst Sep 19, 2024
f2b57b7
Reduce gratuitous differences
mernst Sep 19, 2024
ca2c843
Script updates
mernst Sep 19, 2024
049c389
Update results
mernst Sep 19, 2024
850d102
Tweak style check
mernst Sep 19, 2024
2ad9b3f
Merge ../AST-Merging-Evaluation-fork-mernst-branch-plm-script-name in…
mernst Sep 19, 2024
5116fe0
Update goal files
mernst Sep 19, 2024
ff49cab
Revert test results
benedikt-schesch Sep 20, 2024
6409b2f
Revert results
benedikt-schesch Sep 20, 2024
8ac02d6
revert results
benedikt-schesch Sep 20, 2024
186ae5e
Updated test results
benedikt-schesch Sep 20, 2024
3e3fc0f
added latest test results
benedikt-schesch Sep 20, 2024
a5ff4c7
Add a line to README
mernst Sep 20, 2024
71e6346
Quieter compilation
mernst Sep 21, 2024
53c86f2
Fixes
mernst Sep 21, 2024
c09679b
Documentation
mernst Sep 21, 2024
9dc6cb9
Run `nativeCompile` too
mernst Sep 21, 2024
e518789
Documenttion & update plume-lib merging
mernst Sep 21, 2024
bf7ec72
Update merging
mernst Sep 22, 2024
08eee89
Correct order of arguments
mernst Sep 22, 2024
22f829e
Merge branch 'adjacent-plus-plumelib' of github.com:mernst/AST-Mergin…
mernst Sep 22, 2024
0f84f17
Correct order of arguments
mernst Sep 22, 2024
c85d1e9
Merge ../AST-Merging-Evaluation-fork-mernst-branch-app-pre9 into adja…
mernst Sep 22, 2024
1055d43
Don't use verbose by default
mernst Sep 22, 2024
5a0e5ad
Update tests
mernst Sep 22, 2024
324858f
Remove output to standard error
mernst Sep 22, 2024
8167673
Merge branch 'adjacent-plus-plumelib' of github.com:mernst/AST-Mergin…
mernst Sep 22, 2024
2fce3f8
Merge ../AST-Merging-Evaluation-fork-mernst-branch-adjacent-plus-plum…
mernst Sep 22, 2024
4037c79
Fix typo
mernst Sep 22, 2024
68e5e9d
Merge branch 'adjacent-plus-plumelib' of github.com:mernst/AST-Mergin…
mernst Sep 22, 2024
e2009ca
Merge ../AST-Merging-Evaluation-fork-mernst-branch-adjacent-plus-plum…
mernst Sep 22, 2024
8e2ff27
Newer plume-lib merging
mernst Sep 22, 2024
fa3fc94
Merge ../AST-Merging-Evaluation-fork-mernst-branch-adjacent-plus-plum…
mernst Sep 22, 2024
43702af
Merge branch 'main' into app-pre9
benedikt-schesch Sep 22, 2024
e9fc2ca
Merge branch 'main' into adjacent-plus-plumelib
benedikt-schesch Sep 22, 2024
db1e07d
Added latest test results
benedikt-schesch Sep 22, 2024
7f546c1
Merge ../AST-Merging-Evaluation-fork-mernst-branch-adjacent-plus-plum…
mernst Sep 22, 2024
4569c0e
Merge ../AST-Merging-Evaluation-fork-mernst-branch-adjacent-plus-plum…
mernst Sep 22, 2024
3799534
Merge ../AST-Merging-Evaluation-fork-mernst-branch-app-pre9 into adja…
mernst Sep 22, 2024
c85aff1
Correct order of arguments
mernst Sep 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/check-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ jobs:
run: sudo apt update && sudo apt install shellcheck devscripts
- name: Check style
run: make check-style
- name: Check script diffs
run: pwd && cd src/scripts/merge_tools && pwd && ls && ./check-implementations.sh
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: style gradle-assemble
all: check-style gradle-assemble

fix-style: fix-python-style fix-java-style

Expand Down
19 changes: 18 additions & 1 deletion src/python/replay_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import argparse
import git
import os
import os.path
import sys
import tarfile
from pathlib import Path
Expand Down Expand Up @@ -93,7 +94,22 @@ def merge_replay(
plumelib_merging_dir = Path(ast_merging_evaluation_repo.working_tree_dir) / Path(
"src/scripts/merge_tools/merging"
)
subprocess.run(["./gradlew", "-q", "shadowJar"], cwd=plumelib_merging_dir)
print(f"About to compile in {plumelib_merging_dir}")
p = subprocess.run(
["./gradlew", "-q", "shadowJar"],
cwd=plumelib_merging_dir,
capture_output=True,
text=True,
)
if p.returncode != 0:
print("Failure in: ./gradlew -q shadowJar")
print(p.stdout)
print(p.stderr)
sys.exit(1)
p = subprocess.run(
["./gradlew", "-q", "nativeCompile"], cwd=plumelib_merging_dir, check=False
)
print("Finished compiling")

result_df = pd.DataFrame()
with Progress(
Expand Down Expand Up @@ -158,6 +174,7 @@ def merge_replay(
["git", "merge-base", merge_data["left"], merge_data["right"]],
cwd=repo.local_repo_path,
stdout=subprocess.PIPE,
check=True,
)
.stdout.decode("utf-8")
.strip()
Expand Down
22 changes: 16 additions & 6 deletions src/python/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,11 @@ def clone_repo(repo_slug: str, repo_dir: Path) -> None:
MERGE_TOOL = Enum(
"MERGE_TOOL",
[
## First, the algorithms that the paper evaluates.
"gitmerge_ort",
"gitmerge_ort_ignorespace",
"gitmerge_recursive_histogram",
"gitmerge_recursive_ignorespace",
"gitmerge_recursive_myers_ignorespace",
"gitmerge_recursive_minimal",
"gitmerge_recursive_myers",
"gitmerge_recursive_patience",
Expand All @@ -123,17 +124,26 @@ def clone_repo(repo_slug: str, repo_dir: Path) -> None:
"adjacent",
"imports",
"version_numbers",
"git_hires_merge_plus",
"intellimerge_plus",
"ivn",
"ivn_ignorespace",
## Second, the algorithms that we run to correct the classifications of the above algorithms.
## "_plus" = plus known good = plus default plumelib == + imports + version_numbers
"gitmerge_ort_plus",
"gitmerge_ort_ignorespace_plus",
"gitmerge_recursive_histogram_plus",
"gitmerge_recursive_ignorespace_plus",
"gitmerge_recursive_myers_ignorespace_plus",
"gitmerge_recursive_minimal_plus",
"gitmerge_recursive_myers_plus",
"gitmerge_recursive_patience_plus",
"gitmerge_resolve_plus",
"git_hires_merge_plus",
"spork_plus",
"ivn",
"ivn_ignorespace",
"intellimerge_plus",
"adjacent_plus",
"imports_plus",
"version_numbers_plus",
"ivn_plus",
"ivn_ignorespace_plus",
],
)
MERGE_STATE = Enum(
Expand Down
11 changes: 11 additions & 0 deletions src/scripts/merge_tools/adjacent_ignorespace_plus.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env sh

# usage: <scriptname> <clone_dir> <branch-1> <branch-2>

MERGE_SCRIPTS_DIR="$(cd "$(dirname "$0")" && pwd -P)"
clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s ort -Xignore-space-change"
plumelib_strategy="--adjacent"
"$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
2 changes: 0 additions & 2 deletions src/scripts/merge_tools/adjacent_plus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@ clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s ort"
# Uses both --adjacent and all of plume-lib merging's default behaviors.
# Thus, this implements "adjacent + plume-lib-merging-fixups".
plumelib_strategy="--adjacent"
"$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
63 changes: 63 additions & 0 deletions src/scripts/merge_tools/check-implementations.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
#!/bin/sh

# This checks that the implementations of various tools are consistent with one another.

set -e

# Check for identical content.

diff -q ivn_plus.sh adjacent_plus.sh > /dev/null 2>&1 && { echo "identical: ivn_plus.sh adjacent_plus.sh"; exit 1; }
diff -q ivn_plus.sh gitmerge_ort_plus.sh
diff -q ivn_plus.sh imports_plus.sh
diff -q ivn_plus.sh version_numbers_plus.sh

diff -q ivn_ignorespace_plus.sh adjacent_ignorespace_plus.sh > /dev/null 2>&1 && { echo "identical: ivn_ignorespace_plus.sh adjacent_ignorespace_plus.sh"; exit 1; }
diff -q ivn_ignorespace_plus.sh gitmerge_ort_ignorespace_plus.sh
diff -q ivn_ignorespace_plus.sh imports_ignorespace_plus.sh
diff -q ivn_ignorespace_plus.sh version_numbers_ignorespace_plus.sh

#


## These have an ignorespace version

tmpfile=$(mktemp)
tmpfile2=$(mktemp)

for base in adjacent imports ivn version_numbers ; do
diff "$base.sh" "${base}_ignorespace.sh" > "$tmpfile" || true
diff -q diff-pl-ignorespace.diff "$tmpfile" || { echo "problem with: diff $base.sh ${base}_ignorespace.sh" ; exit 1; }
diff "${base}_plus.sh" "${base}_ignorespace_plus.sh" > "$tmpfile" || true
diff -q diff-pl-ignorespace.diff "$tmpfile" || { echo "problem with: diff ${base}_plus.sh ${base}_ignorespace_plus.sh" ; exit 1; }

diff "$base.sh" "${base}_plus.sh" > "$tmpfile" || true
diff "${base}_ignorespace.sh" "${base}_ignorespace_plus.sh" > "$tmpfile2" || true
diff -q "$tmpfile" "$tmpfile2" || { echo "problem with: ( $base.sh ${base}_plus.sh) versus ( ${base}_ignorespace.sh ${base}_ignorespace_plus.sh"; exit 1; }
done


for base in gitmerge_ort gitmerge_recursive_myers ; do
diff "$base.sh" "${base}_ignorespace.sh" > "$tmpfile" || true
diff "${base}_plus.sh" "${base}_ignorespace_plus.sh" > "$tmpfile2" || true
diff -q "$tmpfile" "$tmpfile2" || { echo "problem with: ( $base.sh ${base}_ignorespace.sh) versus ( ${base}_plus.sh ${base}_ignorespace_plus.sh"; exit 1; }


diff "$base.sh" "${base}_plus.sh" > "$tmpfile" || true
diff "${base}_ignorespace.sh" "${base}_ignorespace_plus.sh" > "$tmpfile2" || true
diff -q "$tmpfile" "$tmpfile2" || { echo "problem with: ( $base.sh ${base}_plus.sh) versus ( ${base}_ignorespace.sh ${base}_ignorespace_plus.sh"; exit 1; }
done


## These do not have an ignorespace version

# "git_hires_merge.sh" has different diffs, so it is not included.
# TODO: Reinstate gitmerge_resolve
for base in gitmerge_recursive_histogram gitmerge_recursive_minimal \
gitmerge_recursive_patience ; do

diff "$base.sh" "${base}_plus.sh" > "$tmpfile" || true
diff -q diff-gm-plus.diff "$tmpfile" || { echo "problem with $base.sh ${base}_plus.sh"; exit 1; }

done

rm -rf "$tmpfile"
5 changes: 5 additions & 0 deletions src/scripts/merge_tools/diff-gm-ignorespace.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
10c10,11
< "$MERGE_SCRIPTS_DIR"/gitmerge.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy"
---
> plumelib_strategy=""
> "$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
5 changes: 5 additions & 0 deletions src/scripts/merge_tools/diff-gm-plus.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
10c10,11
< "$MERGE_SCRIPTS_DIR"/gitmerge.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy"
---
> plumelib_strategy=""
> "$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
4 changes: 4 additions & 0 deletions src/scripts/merge_tools/diff-gmpl-ignorespace.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
9c9
< git_strategy="-s ort"
---
> git_strategy="-s ort -Xignore-space-change"
4 changes: 4 additions & 0 deletions src/scripts/merge_tools/diff-pl-ignorespace.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
9c9
< git_strategy="-s ort"
---
> git_strategy="-s ort -Xignore-space-change"
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ MERGE_SCRIPTS_DIR="$(cd "$(dirname "$0")" && pwd -P)"
clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s recursive -Xignore-space-change"
git_strategy="-s ort -Xignore-space-change"
plumelib_strategy=""
"$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
11 changes: 11 additions & 0 deletions src/scripts/merge_tools/gitmerge_ort_plus.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env sh

# usage: <scriptname> <clone_dir> <branch-1> <branch-2>

MERGE_SCRIPTS_DIR="$(cd "$(dirname "$0")" && pwd -P)"
clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s ort"
plumelib_strategy=""
"$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
10 changes: 0 additions & 10 deletions src/scripts/merge_tools/gitmerge_recursive_ignorespace.sh

This file was deleted.

10 changes: 10 additions & 0 deletions src/scripts/merge_tools/gitmerge_recursive_myers_ignorespace.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env sh

# usage: <scriptname> <clone_dir> <branch-1> <branch-2>

MERGE_SCRIPTS_DIR="$(cd "$(dirname "$0")" && pwd -P)"
clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s recursive -Xdiff-algorithm=myers -Xignore-space-change"
"$MERGE_SCRIPTS_DIR"/gitmerge.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy"
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env sh

# usage: <scriptname> <clone_dir> <branch-1> <branch-2>

MERGE_SCRIPTS_DIR="$(cd "$(dirname "$0")" && pwd -P)"
clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s recursive -Xdiff-algorithm=myers -Xignore-space-change"
plumelib_strategy=""
"$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
11 changes: 11 additions & 0 deletions src/scripts/merge_tools/imports_ignorespace_plus.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env sh

# usage: <scriptname> <clone_dir> <branch-1> <branch-2>

MERGE_SCRIPTS_DIR="$(cd "$(dirname "$0")" && pwd -P)"
clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s ort -Xignore-space-change"
plumelib_strategy=""
"$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
11 changes: 11 additions & 0 deletions src/scripts/merge_tools/imports_plus.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env sh

# usage: <scriptname> <clone_dir> <branch-1> <branch-2>

MERGE_SCRIPTS_DIR="$(cd "$(dirname "$0")" && pwd -P)"
clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s ort"
plumelib_strategy=""
"$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
11 changes: 11 additions & 0 deletions src/scripts/merge_tools/ivn_ignorespace_plus.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env sh

# usage: <scriptname> <clone_dir> <branch-1> <branch-2>

MERGE_SCRIPTS_DIR="$(cd "$(dirname "$0")" && pwd -P)"
clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s ort -Xignore-space-change"
plumelib_strategy=""
"$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
11 changes: 11 additions & 0 deletions src/scripts/merge_tools/ivn_plus.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env sh

# usage: <scriptname> <clone_dir> <branch-1> <branch-2>

MERGE_SCRIPTS_DIR="$(cd "$(dirname "$0")" && pwd -P)"
clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s ort"
plumelib_strategy=""
"$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
8 changes: 4 additions & 4 deletions src/scripts/merge_tools/merge_git_then_plumelib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fi

git config --local merge.tool merge-plumelib
# shellcheck disable=SC2016
git config --local mergetool.merge-plumelib.cmd "$SCRIPTDIR"/'java-merge-tool.sh '"$plumelib_strategy"' ${BASE} ${LOCAL} ${REMOTE} ${MERGED}'
git config --local mergetool.merge-plumelib.cmd "$SCRIPTDIR"/'java-merge-tool.sh '"$plumelib_strategy"' ${LOCAL} ${BASE} ${REMOTE} ${MERGED}'
git config --local mergetool.merge-plumelib.trustExitCode true

case "$plumelib_strategy" in
Expand All @@ -73,10 +73,10 @@ esac

if [ -n "$VERBOSE" ] ; then
echo "$0: about to run: git-mergetool.sh $all_arg --tool=merge-plumelib in $(pwd)"
fi
git-mergetool.sh $all_arg --tool=merge-plumelib
if [ -n "$VERBOSE" ] ; then
git-mergetool.sh --verbose $all_arg --tool=merge-plumelib
echo "$0: ran: git-mergetool.sh $all_arg --tool=merge-plumelib in $(pwd)"
else
git-mergetool.sh $all_arg --tool=merge-plumelib
fi

# Check if there are still conflicts
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/merge_tools/merge_script_then_plumelib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fi

git config --local merge.tool merge-plumelib
# shellcheck disable=SC2016
git config --local mergetool.merge-plumelib.cmd "$SCRIPTDIR"/'java-merge-tool.sh '"$plumelib_strategy"' ${BASE} ${LOCAL} ${REMOTE} ${MERGED}'
git config --local mergetool.merge-plumelib.cmd "$SCRIPTDIR"/'java-merge-tool.sh '"$plumelib_strategy"' ${LOCAL} ${BASE} ${REMOTE} ${MERGED}'
git config --local mergetool.merge-plumelib.trustExitCode true

case "$plumelib_strategy" in
Expand Down
11 changes: 11 additions & 0 deletions src/scripts/merge_tools/version_numbers_ignorespace_plus.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env sh

# usage: <scriptname> <clone_dir> <branch-1> <branch-2>

MERGE_SCRIPTS_DIR="$(cd "$(dirname "$0")" && pwd -P)"
clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s ort -Xignore-space-change"
plumelib_strategy=""
"$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
11 changes: 11 additions & 0 deletions src/scripts/merge_tools/version_numbers_plus.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env sh

# usage: <scriptname> <clone_dir> <branch-1> <branch-2>

MERGE_SCRIPTS_DIR="$(cd "$(dirname "$0")" && pwd -P)"
clone_dir=$1
branch1=$2
branch2=$3
git_strategy="-s ort"
plumelib_strategy=""
"$MERGE_SCRIPTS_DIR"/merge_git_then_plumelib.sh "$clone_dir" "$branch1" "$branch2" "$git_strategy" "$plumelib_strategy"
Loading
Loading