diff options
| author | Julia Evans <julia@jvns.ca> | 2025-09-10 19:14:28 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-10 14:32:05 -0700 |
| commit | bfe7b17c253eaeefc024ed7fef80787dd80d45fd (patch) | |
| tree | aaa9aa5bffc52964505ad6549a4b822a2c9fd126 /builtin/grep.c | |
| parent | 0dd71f607c2b16e56b72a1e86262eb2b9e52e343 (diff) | |
doc: git-checkout: split up restoring files section
From user feedback: one user mentioned that "When the <tree-ish> (most
often a commit) is not given" is confusing since it starts with a
negative.
Restructuring so that `git checkout main file.txt` and
`git checkout file.txt` are separate items will help us simplify the
sentence structure a lot.
As a bonus, it appears that `-f` actually only applies to one of those
forms, so we can include fewer options, and now the structure of the
DESCRIPTION matches the SYNOPSIS.
Signed-off-by: Julia Evans <julia@jvns.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/grep.c')
0 files changed, 0 insertions, 0 deletions
