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
This commit is contained in:
Junio C Hamano 2020-01-06 14:17:51 -08:00
commit 0f1930cd1b
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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