summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2023-06-01 21:14:57 +0000
committerJunio C Hamano <gitster@pobox.com>2025-03-18 09:03:42 -0700
commit26d76ca2843d5a62475a3353af734fac5fe2dd29 (patch)
treefb81450798d0bb6f1a1dfeca4644404775324f8a /commit.c
parent683c54c999c301c2cd6f715c411407c413b1d84e (diff)
doc: restore: remove note on --patch w/ pathspecs
This note was added to the restore command docs in 46e91b663b (checkout: split part of it to new command 'restore', 2019-04-25), but it is now inaccurate. The underlying builtin `add -i` implementation, made default in 0527ccb1b5 (add -i: default to the built-in implementation, 2021-11-30), supports pathspecs, so `git restore -p <pathspec>...` has worked for all users since then. I bisected to verify this was the commit that added support. Signed-off-by: Adam Johnson <me@adamj.eu> Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions