summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-08-12 09:25:49 -0700
committerJunio C Hamano <gitster@pobox.com>2026-08-12 10:14:42 -0700
commita039ee6757c19b7f341e9796564ea7c93faca6b5 (patch)
tree60ed21a7516a01288d6e8704add585ed29213d92 /contrib/persistent-https
parente9019fcafe0040228b8631c30f97ae1adb61bcdc (diff)
completion: no-op refactoring of diff completion
The "git diff" completion function punts very early when it sees "--" on the command line, since it is a sign that options or revisions can appear and the current completion does not need to do anything "git diff" specific. By returning, it lets Bash default action that completes the names of the files in $PWD to kick in. In preparation for the next step to change what happens when we "punt", arrange the code flow to avoid this early return. The behaviour at this step is unchanged, but the control flow just falls straight to the end. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions