Debian stable has git 1.5.6.5 which is missing the --ff-only options in git pull/git merge. Is there a way to simulate this behavior with a series of alternative git commands?
A:
Of course, I can just run merge with --no-commit and then see if anything has changed in the index. If it's a fast-forward or empty merge, then git diff --cached should be empty, given that it was empty before the merge.
zedoo
2010-09-21 19:51:41