]> git.ipfire.org Git - thirdparty/git.git/commit - dir.c
dir.c: drop unused "untracked" from treat_path_fast()
authorJeff King <peff@peff.net>
Wed, 30 Sep 2020 12:35:00 +0000 (08:35 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Sep 2020 19:53:48 +0000 (12:53 -0700)
commit842385b8a4fa56678f13cda599ee96463004e7bf
tree6e14b8395c577a4d97ea284d228d27a1a2d5556e
parent9dad073d4b9b6679c3e86f28aacf79f85ed786d2
dir.c: drop unused "untracked" from treat_path_fast()

We don't use the untracked_cache_dir parameter that is passed in, but
instead look at the untracked_cache_dir inside the cached_dir struct we
are passed. It's been this way since the introduction of
treat_path_fast() in 91a2288b5f (untracked cache: record/validate dir
mtime and reuse cached output, 2015-03-08).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c