summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-08-15 12:08:45 -0700
committerJunio C Hamano <gitster@pobox.com>2013-08-15 12:08:45 -0700
commit712610274211dc6cd7c83c5ccf88db5a75af8c25 (patch)
treec30faa3d69292e5a52f631fe315363d015ad2ccc /dir.h
parentedca4152560522a431a51fc0a06147fc680b5b18 (diff)
downloadgit-712610274211dc6cd7c83c5ccf88db5a75af8c25.tar.gz
dir.c: use the cache_* macro to access the current index
These codepaths always start from the_index and use index_* functions, but there is no reason to do so. Use the compatibility cache_* macro to access the current in-core index like everybody else. While at it, fix typo in the comment for a function to check if a path within a directory appears in the index. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.h')
0 files changed, 0 insertions, 0 deletions