There are two lines error log about gitinfo.json in debug output, which we can't resolve at all.
[gitinfo] Computed cacheFile=/wiki/gitinfo.json for /wiki
[gitinfo] Cache incomplete for /wiki
Directory where GitInfo will look for pre-computed cache files. If false, $wgCacheDirectory/gitinfo will be used.
We got the $wgGitInfoCacheDirectory set to false as default, and $wgCacheDirectory = '/tmp/mw-cache-wikiname';.
However, the gitinfo.json were still saved to /wiki/gitinfo.json then failed, instead of /tmp/mw-cache-wikiname/gitinfo/gitinfo.json .
Moreover, the /wiki folder was set to 755 www:www. But the creation of /wiki/gitinfo.json still failed.
Is this a bug in gitinfo caching mechanism or we are not caching the gitinfo in right way?
I do found a open task T131003 talk about this problem in 2016 (3 years ago), which suggest that the gitinfo cache were not worte. Is this still ture?