author | Ramkumar Ramachandra <artagnon@gmail.com> | |
Sun, 10 Apr 2011 15:39:14 +0000 (21:09 +0530) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 13 Apr 2011 18:02:49 +0000 (11:02 -0700) | ||
commit | 5e31075a19acdd242996c83728b3c8e965af0d7b | |
tree | 5b7c4b6930c85e2076adb6388070a3f996fb8290 | tree | snapshot |
parent | 9db19414582fdb154384ff1ca457cbf9095fef48 | commit | diff |
revert: Hide '-r' option in default usage
The '-r' command-line option is a no-op provided only for backward
compatiblity since abd6970 (cherry-pick: make -r the default, 2006-10-05),
and somehow ended up surviving across reimplementation in C at 9509af6
(Make git-revert & git-cherry-pick a builtin, 2007-03-01) and another
rewrite of the command line parser at f810379 (Make builtin-revert.c use
parse_options, 2007-10-07). We should have stopped advertising the option
long time ago.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The '-r' command-line option is a no-op provided only for backward
compatiblity since abd6970 (cherry-pick: make -r the default, 2006-10-05),
and somehow ended up surviving across reimplementation in C at 9509af6
(Make git-revert & git-cherry-pick a builtin, 2007-03-01) and another
rewrite of the command line parser at f810379 (Make builtin-revert.c use
parse_options, 2007-10-07). We should have stopped advertising the option
long time ago.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/revert.c | diff | blob | history |