diff --git a/bin/git-cp b/bin/git-cp index 9021f6f..0911824 100755 --- a/bin/git-cp +++ b/bin/git-cp @@ -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