[PATCH] read-tree: mark a file-local symbol as static
- From
Ramsay Jones <ramsay@ramsayjones.plus.com>
- Date
- Mar 9, 2017, 01:47 UTC
- Message-ID
- <5a67328d-bbea-4dda-b9bc-32c15d960bcf@ramsayjones.plus.com>
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> ---
Hi Stefan,
If you need to re-roll your 'sb/checkout-recurse-submodules' branch, could you please squash this into the relevant patch (commit 97aadb19f1, "builtin/read-tree: add --recurse-submodules switch", 06-03-2017).
ATB, Ramsay Jones
builtin/read-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/read-tree.c b/builtin/read-tree.c index 2dc5cc06d..23e212ee8 100644 --- a/builtin/read-tree.c +++ b/builtin/read-tree.c @@ -21,7 +21,7 @@ static int nr_trees; static int read_empty; static struct tree *trees[MAX_UNPACK_TREES]; -int recurse_submodules = RECURSE_SUBMODULES_DEFAULT; +static int recurse_submodules = RECURSE_SUBMODULES_DEFAULT; static int list_tree(unsigned char *sha1) {
-- 2.12.0