diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-01-07 01:17:51 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-07 01:17:51 +0300 |
commit | 0f1930cd1bf18bbd807e31c2c6c97579ee5905c3 (patch) | |
tree | 98fc19650f1d493442ece22d0024825f9d97ed0d | |
parent | 037f0675875b7cba0cb6520646ba2e3a48576219 (diff) | |
parent | 757ff352bd66de31715580f8c525e54ad30b22eb (diff) |
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.txt | 2 | ||||
-rw-r--r-- | cache.h | 4 |
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 @@ -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 |