Skip to content

Commit

Permalink
git-cp: don't stop execution when merge.ff is not set (#1096)
Browse files Browse the repository at this point in the history
Signed-off-by: spacewander <[email protected]>
  • Loading branch information
spacewander authored Oct 26, 2023
1 parent 90221f2 commit 78c5ca2
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 @@ -51,7 +51,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 78c5ca2

Please sign in to comment.