summaryrefslogtreecommitdiffstats
path: root/color.h
diff options
context:
space:
mode:
authorRubén Justo <rjusto@gmail.com>2023-02-25 15:21:51 +0100
committerJunio C Hamano <gitster@pobox.com>2023-02-25 22:05:23 +0100
commit662078caacd450f93faa72e0e7d8580c42621415 (patch)
tree08463245b6875b087d6feb08325928a523d2114a /color.h
parentThe ninth batch (diff)
downloadgit-662078caacd450f93faa72e0e7d8580c42621415.tar.xz
git-662078caacd450f93faa72e0e7d8580c42621415.zip
worktree: introduce is_shared_symref()
Add a new function, is_shared_symref(), which contains the heart of find_shared_symref(). Refactor find_shared_symref() to use the new function is_shared_symref(). Soon, we will use is_shared_symref() to search for symref beyond the first worktree that matches. Signed-off-by: Rubén Justo <rjusto@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'color.h')
0 files changed, 0 insertions, 0 deletions