git/contrib/completion
David Mandelberg 778d2f1760 completion: fix bugs with slashes in remote names
Previously, some calls to for-each-ref passed fixed numbers of path
components to strip from refs, assuming that remote names had no slashes
in them. This made completions like:

git push github/dseomn :com<Tab>

Result in:

git push github/dseomn :dseomn/completion-remote-slash

With this patch, it instead results in:

git push github/dseomn :completion-remote-slash

Signed-off-by: David Mandelberg <david@mandelberg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-03-23 23:03:13 -07:00
..
.gitattributes completion: mark bash script as LF-only 2017-05-10 13:32:51 +09:00
git-completion.bash completion: fix bugs with slashes in remote names 2025-03-23 23:03:13 -07:00
git-completion.tcsh completion: tcsh: Fix regression by drop of wrapper functions 2021-08-18 13:58:27 -07:00
git-completion.zsh completion: zsh: stop leaking local cache variable 2024-04-30 15:24:56 -07:00
git-prompt.sh git-prompt: support custom 0-width PS1 markers 2024-08-20 08:28:19 -07:00
meson.build Introduce support for the Meson build system 2024-12-07 07:52:14 +09:00