diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-03-15 14:46:30 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-15 14:46:30 -0700 |
| commit | 6e84af9ff4f271b636f3be2ee8daba0fb79c2f84 (patch) | |
| tree | a046b36e90e1ca37dba24bc77f9cd650b12d2c94 /worktree.h | |
| parent | 795c338de725e13bd361214c6b768019fc45a2c1 (diff) | |
| parent | f21967e5415673824d501b318a252c6e8a91d6fb (diff) | |
| download | git-6e84af9ff4f271b636f3be2ee8daba0fb79c2f84.tar.xz | |
Merge branch 'dd/list-objects-filter-options-wo-strbuf-split' into dd/cocci-do-not-pass-strbuf-by-value
* dd/list-objects-filter-options-wo-strbuf-split:
list-objects-filter-options: avoid strbuf_split_str()
worktree: do not pass strbuf by value
Diffstat (limited to 'worktree.h')
| -rw-r--r-- | worktree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree.h b/worktree.h index 06efe26b83..f4e46be385 100644 --- a/worktree.h +++ b/worktree.h @@ -240,7 +240,7 @@ int init_worktree_config(struct repository *r); * dotgit: "/path/to/foo/.git" * gitdir: "/path/to/repo/worktrees/foo/gitdir" */ -void write_worktree_linking_files(struct strbuf dotgit, struct strbuf gitdir, +void write_worktree_linking_files(const char *dotgit, const char *gitdir, int use_relative_paths); #endif |
