summaryrefslogtreecommitdiff
path: root/Documentation/git-show-index.txt
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-06-24 14:12:30 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-24 11:09:50 -0700
commit0375f472d484041f9b1e5550b57d69286b3322e7 (patch)
tree04ac5e22c3c26373ed5b6e2389b9ce80738230ed /Documentation/git-show-index.txt
parentp4205: add perf test script for pretty log formats (diff)
downloadtgif-0375f472d484041f9b1e5550b57d69286b3322e7.tar.xz
sha1_file: let for_each_file_in_obj_subdir() handle subdir names
The function for_each_file_in_obj_subdir() takes a object subdirectory number and expects the name of the same subdirectory to be included in the path strbuf. Avoid this redundancy by letting the function append the hexadecimal subdirectory name itself. This makes it a bit easier and safer to use the function -- it becomes impossible to specify different subdirectories in subdir_nr and path. Suggested-by: Jeff King <peff@peff.net> Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-show-index.txt')
0 files changed, 0 insertions, 0 deletions