Files
git/builtin
Nguyễn Thái Ngọc Duy be8ed5022b restore: make pathspec mandatory
"git restore" without arguments does not make much sense when
it's about restoring files (what files now?). We could default to
either

    git restore .

or

    git restore :/

Neither is intuitive. Make the user always give pathspec, force the
user to think the scope of restore they want because this is a
destructive operation.

"git restore -p" without pathspec is an exception to this
because it really is a separate mode. It will be treated as running
patch mode on the whole worktree.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-05-07 13:04:47 +09:00
..
2019-02-06 22:05:23 -08:00
2019-03-07 09:59:52 +09:00
2019-03-07 09:59:54 +09:00
2019-05-07 13:04:47 +09:00
2019-02-06 22:05:23 -08:00
2018-05-13 10:45:05 +09:00
2019-01-29 12:47:54 -08:00
2019-02-06 22:05:23 -08:00
2018-10-19 13:34:02 +09:00
2019-02-06 22:05:23 -08:00
2019-02-06 22:05:23 -08:00
2019-01-29 12:47:54 -08:00
2019-02-06 22:05:23 -08:00
2019-02-06 22:05:23 -08:00
2019-03-07 09:59:52 +09:00
2019-01-18 13:49:52 -08:00
2018-10-19 13:34:02 +09:00
2018-05-29 00:28:22 +09:00
2019-03-07 09:59:52 +09:00