diff options
author | Brandon Williams <bmwill@google.com> | 2017-05-05 12:53:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-06 19:15:39 +0900 |
commit | 473e39307d8c9db93bd08d82898e7fff7002c8cb (patch) | |
tree | ffd7732567d72e32b24b5291934db0648fbf7e8c /unpack-trees.c | |
parent | fba92be8f73818c4e79dc0b93ba26733d0ba5efe (diff) | |
download | git-473e39307d8c9db93bd08d82898e7fff7002c8cb.tar.gz |
dir: convert add_excludes to take an index
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.c')
-rw-r--r-- | unpack-trees.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unpack-trees.c b/unpack-trees.c index df9f975d01..f278cd23f0 100644 --- a/unpack-trees.c +++ b/unpack-trees.c @@ -1251,7 +1251,7 @@ int unpack_trees(unsigned len, struct tree_desc *t, struct unpack_trees_options o->skip_sparse_checkout = 1; if (!o->skip_sparse_checkout) { char *sparse = git_pathdup("info/sparse-checkout"); - if (add_excludes_from_file_to_list(sparse, "", 0, &el, 0) < 0) + if (add_excludes_from_file_to_list(sparse, "", 0, &el, NULL) < 0) o->skip_sparse_checkout = 1; else o->el = ⪙ |