summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-08-13 12:12:32 -0700
committerJunio C Hamano <gitster@pobox.com>2026-08-13 12:13:55 -0700
commit735514635b49332efba080ed8e2c75b5e3c37a6e (patch)
tree10c8aee4e98e601853ccacba04ac941892e24597 /contrib/persistent-https
parent32f1896f7f33f2a67f49cbb238b2ec92956d0f0c (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