diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-07-02 09:27:58 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-07-02 09:27:58 -0700 |
| commit | ae46703d1ee03e0dabb2ed214929b4ebe07331cc (patch) | |
| tree | 10c1f15d66cd077d8a57dc3078d2544858efa373 /worktree.h | |
| parent | 5cf6e9b022cd281b2da66c58b5c033b9b735c160 (diff) | |
| parent | bf6a86236e829d08c92356e5c861193ccb516ef7 (diff) | |
| download | git-ae46703d1ee03e0dabb2ed214929b4ebe07331cc.tar.gz | |
Merge branch 'jc/worktree-git-path' into maint-2.45
Code cleanup.
* jc/worktree-git-path:
worktree_git_path(): move the declaration to path.h
Diffstat (limited to 'worktree.h')
| -rw-r--r-- | worktree.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/worktree.h b/worktree.h index f14784a2ff..605ed6cb90 100644 --- a/worktree.h +++ b/worktree.h @@ -176,14 +176,6 @@ int is_worktree_being_rebased(const struct worktree *wt, const char *target); int is_worktree_being_bisected(const struct worktree *wt, const char *target); /* - * Similar to git_path() but can produce paths for a specified - * worktree instead of current one - */ -const char *worktree_git_path(const struct worktree *wt, - const char *fmt, ...) - __attribute__((format (printf, 2, 3))); - -/* * Return a refname suitable for access from the current ref store. */ void strbuf_worktree_ref(const struct worktree *wt, |
