diff options
author | Rubén Justo <rjusto@gmail.com> | 2023-02-25 15:21:51 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-25 22:05:23 +0100 |
commit | 662078caacd450f93faa72e0e7d8580c42621415 (patch) | |
tree | 08463245b6875b087d6feb08325928a523d2114a /parse-options.c | |
parent | The ninth batch (diff) | |
download | git-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 'parse-options.c')
0 files changed, 0 insertions, 0 deletions