For example, say you've added Jakt as a submodule to a folder named vendor/jakt/
ls vendor/jakt/.git
you'll see it's actually just a regular file, not a directory.cat vendor/jakt/.git
you'll see something like...$ cat vendor/jakt/.git
gitdir: ../../.git/modules/Jakt
So instead of reading "../.git/HEAD"
, it should actually be reading "../../../.git/modules/Jakt/HEAD"
.
Similarly, a bit later in the function, instead of "../.git/"
, the path should be "../../../.git/modules/Jakt/"
.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too