summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-04-16 16:33:38 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-16 18:56:53 +0900
commitd9b8b8f896f92639f06708dcd641c0706fcfd6a4 (patch)
tree01dc890ff0b97dcf2709b4fa333affb7eedc7807 /cache.h
parentsha1-name.c: add repo_get_oid() (diff)
downloadtgif-d9b8b8f896f92639f06708dcd641c0706fcfd6a4.tar.xz
submodule-config.c: use repo_get_oid for reading .gitmodules
Since 76e9bdc437 (submodule: support reading .gitmodules when it's not in the working tree - 2018-10-25), every time you do git grep --recurse-submodules you are likely to see one warning line per submodule (unless all those submodules also have submodules). On a superproject with plenty of submodules (I've seen one with 67) this is really annoying. The warning was there because we could not resolve extended SHA-1 syntax on a submodule. We can now. Make use of the new API and get rid of the warning. It would be even better if config_with_options() supports multiple repositories too. But one step at a time. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
0 files changed, 0 insertions, 0 deletions