hugolib: gitinfo: use contentDir not workingDir
authorNikita Shubin <nikita.shubin@maquefel.me>
Fri, 22 Apr 2022 10:54:54 +0000 (13:54 +0300)
committerNikita Shubin <nikita.shubin@maquefel.me>
Fri, 22 Apr 2022 10:54:54 +0000 (13:54 +0300)
commit903c9301b12d782f16a35946d614c6c2095e68b5
treee66e7db4f538768547ed5e11fc7304ce4d7f3d68
parent41cc4e4ba3bd849cee7dcb691504ebebbfce680f
hugolib: gitinfo: use contentDir not workingDir

gitinfo searches workingDir by default and that's not what we want, if
we specify content directory during build, we want .git infromation from
that directory also.
hugolib/gitinfo.go