git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] wt-status: move #include "pathspec.h" to the header

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Aug 20, 2015, 14:06 UTC
Message-ID
<1440079587-26491-1-git-send-email-szeder@ira.uka.de>

The declaration of 'struct wt_status' requires the declararion of 'struct pathspec'.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
 wt-status.c | 1 -
 wt-status.h | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/wt-status.c b/wt-status.c
index 717fd48d13..c327fe8128 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -1,5 +1,4 @@
 #include "cache.h"
-#include "pathspec.h"
 #include "wt-status.h"
 #include "object.h"
 #include "dir.h"
diff --git a/wt-status.h b/wt-status.h
index e0a99f75c7..c9b3b744e9 100644
--- a/wt-status.h
+++ b/wt-status.h
@@ -4,6 +4,7 @@
 #include <stdio.h>
 #include "string-list.h"
 #include "color.h"
+#include "pathspec.h"
 
 enum color_wt_status {
 	WT_STATUS_HEADER = 0,
-- 
2.5.0.415.g33d64ef
Next: Junio C Hamano
Message 1 of 4 in “wt-status: move #include "pathspec.h" to the header”
  1. wt-status: move #include "pathspec.h" to the headerSZEDER Gábor, Aug 20, 2015
  2. Junio C HamanoAug 20, 2015
  3. Jeff KingAug 20, 2015
  4. SZEDER GáborAug 20, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.