Skip to content

Commit

Permalink
git-cp: don't stop execution when merge.ff is not set
Browse files Browse the repository at this point in the history
Signed-off-by: spacewander <[email protected]>
  • Loading branch information
spacewander committed Oct 24, 2023
1 parent 263dcb4 commit 164a911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/git-cp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ else
fi

MERGE_OPT=
ff=$(git config --get merge.ff)
ff=$(git config --get merge.ff || true)
if [[ "$ff" == "only" ]]; then
MERGE_OPT="--ff"
fi
Expand Down

0 comments on commit 164a911

Please sign in to comment.