summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2023-12-19 14:14:17 -0800
committerJunio C Hamano <gitster@pobox.com>2023-12-19 15:11:56 -0800
commit666270a2df49132c683f53b5efde240dd9bf5c5e (patch)
treee5f88d2faad05289ed29e346023b39d62af502ec /builtin/commit.c
parent564d0252ca632e0264ed670534a51d18a689ef5d (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