diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-08-13 12:12:32 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-08-13 12:13:55 -0700 |
| commit | 735514635b49332efba080ed8e2c75b5e3c37a6e (patch) | |
| tree | 10c8aee4e98e601853ccacba04ac941892e24597 /contrib/persistent-https | |
| parent | 32f1896f7f33f2a67f49cbb238b2ec92956d0f0c (diff) | |
completion: no-op refactoring of checkout completion
The 'git checkout' completion function punts very early when it sees
'--' on the command line, as it indicates that options or revisions
can no longer appear. By returning early, it allows the default
Bash action (which completes files in '$PWD') to kick in.
In preparation for changing what happens in the next step when
option or revision completion yields no matching candidates, or when
'--' is present, reorganize the control flow to avoid this early
return, and add explicit returns to the option completion branches.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
