summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-01-06 14:17:51 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-06 14:17:51 -0800
commit0f1930cd1bf18bbd807e31c2c6c97579ee5905c3 (patch)
tree98fc19650f1d493442ece22d0024825f9d97ed0d
parentMerge branch 'ds/commit-graph-set-size-mult' (diff)
parentDocumentation/git-sparse-checkout.txt: fix a typo (diff)
downloadtgif-0f1930cd1bf18bbd807e31c2c6c97579ee5905c3.tar.xz
Merge branch 'ds/sparse-cone'
Code cleanup. * ds/sparse-cone: Documentation/git-sparse-checkout.txt: fix a typo sparse-checkout: use extern for global variables
-rw-r--r--Documentation/git-sparse-checkout.txt2
-rw-r--r--cache.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git-sparse-checkout.txt b/Documentation/git-sparse-checkout.txt
index 3b341cf0fc..974ade2238 100644
--- a/Documentation/git-sparse-checkout.txt
+++ b/Documentation/git-sparse-checkout.txt
@@ -5,7 +5,7 @@ NAME
----
git-sparse-checkout - Initialize and modify the sparse-checkout
configuration, which reduces the checkout to a set of paths
-given by a list of atterns.
+given by a list of patterns.
SYNOPSIS
diff --git a/cache.h b/cache.h
index 1554488d66..cbfaead23a 100644
--- a/cache.h
+++ b/cache.h
@@ -958,8 +958,8 @@ extern int protect_hfs;
extern int protect_ntfs;
extern const char *core_fsmonitor;
-int core_apply_sparse_checkout;
-int core_sparse_checkout_cone;
+extern int core_apply_sparse_checkout;
+extern int core_sparse_checkout_cone;
/*
* Include broken refs in all ref iterations, which will