Describe the bug
I'm unable to make cloc work correctly when passing the --vcs=git argument, of course when giving it the path of an actual local git repository.
In example, this is what I getas output by running on a specific folder (which is like I said a git repo) without arguments:
> cloc --vcs=git Personali/nuxt-storyblok-starter/
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
0 text files.
0 unique files.
0 files ignored.
Describe the bug I'm unable to make cloc work correctly when passing the
--vcs=git
argument, of course when giving it the path of an actual local git repository.In example, this is what I getas output by running on a specific folder (which is like I said a git repo) without arguments:
and with
--vcs-git
argumentcloc; OS; OS version
1.98
Linux
opensuse tumbleweed