cococonscious / koji

🦊 An interactive CLI for creating conventional commits.
MIT License
136 stars 7 forks source link

Koji Errors in Submodules #84

Open Aparaxium opened 10 months ago

Aparaxium commented 10 months ago

Describe the bug When running Koji in a sub module, the following error occurs:

Error: Not a directory (os error 20)

To Reproduce Enter a sub module and run koji

Expected behavior Koji commits to the sub module

cococonscious commented 1 month ago

Unfortunately this is an open issue in cocogitto (see cocogitto/cocogitto#353) and I couldn't find an easy workaround for koji, but I might look into contributing to cocogitto soon. Local workarounds are described in the linked issue; copying or symlinking the directory described in the .git file in the submodule to a .git folder in the submodule.