I have a git project with a submodule that contains an sqlite file. I would like to use git-sqlite in that submodule.
If I try to attach the database in the submodule with git-sqlite attach, then I get an error that the directory isn't the parent directory of a git repository.
However, if I try to attach the database in the main git repository, then I won't be able to diff it or do any merges, because it's part of the submodule.
In a submodule, there is a .git file, but it's not a directory. It's a text file that contains the path to the main git repository. I think the driver should take this into account.
I have a git project with a submodule that contains an sqlite file. I would like to use git-sqlite in that submodule.
If I try to attach the database in the submodule with git-sqlite attach, then I get an error that the directory isn't the parent directory of a git repository.
However, if I try to attach the database in the main git repository, then I won't be able to diff it or do any merges, because it's part of the submodule.
In a submodule, there is a .git file, but it's not a directory. It's a text file that contains the path to the main git repository. I think the driver should take this into account.