summaryrefslogtreecommitdiff
path: root/t/t4018/kotlin-inline-class
diff options
context:
space:
mode:
authorLibravatar David Cantrell <david@cantrell.org.uk>2022-03-15 22:13:57 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-15 17:21:22 -0700
commit841fd28ce215ffeea4a291e7be533545c641396a (patch)
treeec832d1c60bec25c97df62561ac6c07c74ea60e5 /t/t4018/kotlin-inline-class
parentThe eleventh batch (diff)
downloadtgif-841fd28ce215ffeea4a291e7be533545c641396a.tar.xz
completion: tab completion of filenames for 'git restore'
If no --args are present after 'git restore', it assumes that you want to tab-complete one of the files with unstaged uncommitted changes. If a file has been staged, we don't want to list it, as restoring those requires a slightly more complex `git restore --staged`, so we only list those files that are --modified. While --committable also looks like a good candidate, that includes changes that have been staged. Signed-off-by: David Cantrell <david@cantrell.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/kotlin-inline-class')
0 files changed, 0 insertions, 0 deletions