diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-08-15 12:08:45 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-15 12:08:45 -0700 |
commit | 712610274211dc6cd7c83c5ccf88db5a75af8c25 (patch) | |
tree | c30faa3d69292e5a52f631fe315363d015ad2ccc /t/t2200-add-update.sh | |
parent | Git 1.8.3 (diff) | |
download | tgif-712610274211dc6cd7c83c5ccf88db5a75af8c25.tar.xz |
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 't/t2200-add-update.sh')
0 files changed, 0 insertions, 0 deletions