summaryrefslogtreecommitdiff
path: root/t/t0007-git-var.sh
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2019-12-31 13:17:48 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-02 10:18:42 -0800
commit44143583b76decf93c55b73adaf2367c22c88998 (patch)
tree92bb370732ff55ea5ba0c0232dfab14826ffc992 /t/t0007-git-var.sh
parentsparse-checkout: improve OS ls compatibility (diff)
downloadtgif-44143583b76decf93c55b73adaf2367c22c88998.tar.xz
sparse-checkout: use extern for global variables
When the core.sparseCheckoutCone config setting was added in 879321eb0b ("sparse-checkout: add 'cone' mode" 2019-11-21), the variables storing the config values for core.sparseCheckout and core.sparseCheckoutCone were rearranged in cache.h, but in doing so the "extern" keyword was dropped. While we are tending to drop the "extern" keyword for function declarations, it is still necessary for global variables used across multiple *.c files. The impact of not having the extern keyword may be unpredictable. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0007-git-var.sh')
0 files changed, 0 insertions, 0 deletions