[PATCH v2 0/2] Improved bash tab completion for 'git restore' - adds support for auto-completing filenames
- From
David Cantrell via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Mar 15, 2022, 00:52 UTC
- Message-ID
- <pull.1227.v2.git.git.1647305547.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.1227.git.git.1647032857097.gitgitgadget@gmail.com>
This adds tab-completion of filenames to the bash completions for git restore.
David Cantrell (2): tab completion of filenames for 'git restore' if a file has been staged we don't want to list it
contrib/completion/git-completion.bash | 7 +++++++ 1 file changed, 7 insertions(+)
base-commit: 1a4874565fa3b6668042216189551b98b4dc0b1b Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1227%2FDrHyde%2Ffilename-completion-for-git-restore-v2 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1227/DrHyde/filename-completion-for-git-restore-v2 Pull-Request: https://github.com/git/git/pull/1227
Range-diff vs v1:
1: 2bb8f1cb1c4 = 1: 2bb8f1cb1c4 tab completion of filenames for 'git restore' -: ----------- > 2: 16aa4d0b2e4 if a file has been staged we don't want to list it
-- gitgitgadget