author | Jonathan Nieder <jrnieder@gmail.com> | |
Tue, 17 Aug 2010 07:06:06 +0000 (02:06 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 Aug 2010 21:02:04 +0000 (14:02 -0700) | ||
commit | f5d3a6f575b12af88561ad5a3b1fc8f866f49056 | |
tree | 17c76b73b9eecf9452135ea56dabf2e678974524 | tree | snapshot |
parent | e69dccf8cd4576be804597b2960aa7d0020a65db | commit | diff |
merge script: forbid merge -s index
Some git-merge-* commands are not merge strategies. This is based on
v1.6.1-rc1~294^2~7 (builtin-merge: allow using a custom strategy,
2008-07-30) but it is less smart: we just use a hard-coded list of
forbidden strategy names. It is okay if this falls out of date, since
the code is just an example.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Some git-merge-* commands are not merge strategies. This is based on
v1.6.1-rc1~294^2~7 (builtin-merge: allow using a custom strategy,
2008-07-30) but it is less smart: we just use a hard-coded list of
forbidden strategy names. It is okay if this falls out of date, since
the code is just an example.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/examples/git-merge.sh | diff | blob | history |