summaryrefslogtreecommitdiffstats
path: root/worktree.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-07-17 20:30:42 +0200
committerJunio C Hamano <gitster@pobox.com>2023-07-17 20:30:42 +0200
commitce481ac8b31c9061eeecd1ba0d7174b621f96632 (patch)
tree21d54bf0d30f970db5c98a2298a0ae6a45057ec6 /worktree.c
parentMerge branch 'vd/adjust-mfow-doc-to-updated-headers' (diff)
parentgit-compat-util: move alloc macros to git-compat-util.h (diff)
downloadgit-ce481ac8b31c9061eeecd1ba0d7174b621f96632.tar.xz
git-ce481ac8b31c9061eeecd1ba0d7174b621f96632.zip
Merge branch 'cw/compat-util-header-cleanup'
Further shuffling of declarations across header files to streamline file dependencies. * cw/compat-util-header-cleanup: git-compat-util: move alloc macros to git-compat-util.h treewide: remove unnecessary includes for wrapper.h kwset: move translation table from ctype sane-ctype.h: create header for sane-ctype macros git-compat-util: move wrapper.c funcs to its header git-compat-util: move strbuf.c funcs to its header
Diffstat (limited to 'worktree.c')
-rw-r--r--worktree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/worktree.c b/worktree.c
index 1b84e3a34d..b8cf29e6a1 100644
--- a/worktree.c
+++ b/worktree.c
@@ -1,6 +1,5 @@
#include "git-compat-util.h"
#include "abspath.h"
-#include "alloc.h"
#include "environment.h"
#include "gettext.h"
#include "path.h"
@@ -12,7 +11,6 @@
#include "dir.h"
#include "wt-status.h"
#include "config.h"
-#include "wrapper.h"
void free_worktrees(struct worktree **worktrees)
{