Commit 0895c6d
diff: allow unstuck arguments with --diff-algorithm
The argument to --diff-algorithm is mandatory, so there is no reason to
require the argument to be stuck to the option with '='. Change this
for consistency with other Git commands.
Note that this does not change the handling of diff-algorithm in
merge-recursive.c since the primary interface to that is via the -X
option to 'git merge' where the unstuck form does not make sense.
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 4db4f0f commit 0895c6d
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3634 | 3634 | | |
3635 | 3635 | | |
3636 | 3636 | | |
3637 | | - | |
3638 | | - | |
| 3637 | + | |
| 3638 | + | |
3639 | 3639 | | |
3640 | 3640 | | |
3641 | 3641 | | |
3642 | 3642 | | |
3643 | 3643 | | |
3644 | 3644 | | |
3645 | 3645 | | |
| 3646 | + | |
3646 | 3647 | | |
3647 | 3648 | | |
3648 | 3649 | | |
| |||
0 commit comments