summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder@ira.uka.de>2015-08-20 16:06:27 +0200
committerJunio C Hamano <gitster@pobox.com>2015-08-21 14:49:27 -0700
commit7aa9b9ba02c5cfab5078cc7a7b250bbbb74b316f (patch)
treece12b367d246fe60ed8fd5702f34a087f1b9de16
parent8545932d45c91437ac439b1a2df12cf397f71311 (diff)
downloadgit-sg/wt-status-header-inclusion.tar.gz
wt-status: move #include "pathspec.h" to the headersg/wt-status-header-inclusion
The declaration of 'struct wt_status' requires the declararion of 'struct pathspec'. Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--wt-status.c1
-rw-r--r--wt-status.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/wt-status.c b/wt-status.c
index 078a472743..4631119e03 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,