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 13:05:23 -0800 |
| commit | 662078caacd450f93faa72e0e7d8580c42621415 (patch) | |
| tree | 08463245b6875b087d6feb08325928a523d2114a /builtin/commit-tree.c | |
| parent | The ninth batch (diff) | |
| download | git-662078caacd450f93faa72e0e7d8580c42621415.tar.gz 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 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions
