From: Don Date: Mon, 21 Sep 2015 21:49:26 +0000 (-0400) Subject: vcsh: Always fast forward initial merge X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/eca56c3347364f2dbf754f4ffa871069a9f26c7d?ds=sidebyside;hp=d5c11e43b9e6e8fb25206af2a56da6381a4a00e4 vcsh: Always fast forward initial merge Ignore `merge.ff = no` if set in .gitconfig. --- diff --git a/vcsh b/vcsh index 8bfafab..4ea3125 100755 --- a/vcsh +++ b/vcsh @@ -169,7 +169,7 @@ clone() { [ x"$VCSH_CONFLICT" = x'1' ]) && fatal "will stop after fetching and not try to merge! Once this situation has been resolved, run 'vcsh $VCSH_REPO_NAME pull' to finish cloning." 17 - git merge origin/"$VCSH_BRANCH" + git -c merge.ff=true merge origin/"$VCSH_BRANCH" hook post-merge hook post-clone retire