]> git.99rst.org Git - git.git/commit
completion: refactor existence checks for pseudorefs
authorStan Hu <redacted>
Tue, 19 Dec 2023 22:14:17 +0000 (14:14 -0800)
committerJunio C Hamano <redacted>
Tue, 19 Dec 2023 23:11:56 +0000 (15:11 -0800)
commit666270a2df49132c683f53b5efde240dd9bf5c5e
treee5f88d2faad05289ed29e346023b39d62af502ec
parent564d0252ca632e0264ed670534a51d18a689ef5d
completion: refactor existence checks for pseudorefs

In preparation for the reftable backend, this commit introduces a
'__git_pseudoref_exists' function that continues to use 'test -f' to
determine whether a given pseudoref exists in the local filesystem.

Signed-off-by: Stan Hu <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
git clone https://git.99rst.org/PROJECT