Skip to content

Commit

Permalink
Adde code
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Schesch committed May 6, 2024
1 parent 0fc1a7f commit aab88af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/scripts/merge_tools/resolve-adjacent-conflicts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
DEBUG=0

if [ "$#" -eq 0 ] ; then
readarray -t files < <(grep -l -r '^<<<<<<< HEAD' .)
files=($(grep -l -r '^<<<<<<< HEAD' .))
else
files=("$@")
fi
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/merge_tools/resolve-blank-lines
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# no option for ignoring blank lines. This script addresses that shortcoming.

if [ "$#" -eq 0 ] ; then
readarray -t files < <(grep -l -r '^<<<<<<< HEAD' .)
files=($(grep -l -r '^<<<<<<< HEAD' .))
else
files=("$@")
fi
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/merge_tools/resolve-import-conflicts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# in files, as the default git mergetool does.

if [ "$#" -eq 0 ] ; then
readarray -t files < <(grep -l -r '^<<<<<<< HEAD' .)
files=($(grep -l -r '^<<<<<<< HEAD' .))
else
files=("$@")
fi
Expand Down

0 comments on commit aab88af

Please sign in to comment.