mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
git-cp: don't stop execution when merge.ff is not set (#1096)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
parent
90221f2149
commit
78c5ca28a0
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue