diff options
author | Stan Hu <stanhu@gmail.com> | 2023-12-19 14:14:17 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-12-19 15:11:56 -0800 |
commit | 666270a2df49132c683f53b5efde240dd9bf5c5e (patch) | |
tree | e5f88d2faad05289ed29e346023b39d62af502ec /builtin/commit.c | |
parent | 564d0252ca632e0264ed670534a51d18a689ef5d (diff) |
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 <stanhu@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions