Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ws.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-22 23:17:16 +0300
committerJunio C Hamano <gitster@pobox.com>2023-04-24 22:47:32 +0300
commit641223137b6d78fa78946f09b472093a117dc04c (patch)
treea4f3055fdc3bba1c4461c50ae457bd015682e241 /ws.c
parentd4ff2072abed071bc9fd291d179162da46d1427f (diff)
ws.h: move declarations for ws.c functions from cache.h
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ws.c')
-rw-r--r--ws.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ws.c b/ws.c
index 036ccb8ee9..d356d4ec9e 100644
--- a/ws.c
+++ b/ws.c
@@ -3,9 +3,12 @@
*
* Copyright (c) 2007 Junio C Hamano
*/
-#include "cache.h"
+#include "git-compat-util.h"
#include "attr.h"
#include "strbuf.h"
+#include "ws.h"
+
+unsigned whitespace_rule_cfg = WS_DEFAULT_RULE;
static struct whitespace_rule {
const char *rule_name;