Open DerNamenlose opened 2 years ago
Probably enough to change the detection of the .git
location and perhaps some minor details in the history handling.
.git
detection can be done via git rev-parse --git-dir .
in the directory we opened -> may be used to replace the current .git
-detection in the Open dialog and store the result in the 'SimpleGitBackend` for later use in all places where we directly access files in the repo.
Mono-repos usually have some kind of semantic structure in the form of sub-directories (e.g. for individual projects). Corylus should provide at least some support for this use case by allowing to open sub-directories as repositories and only track history etc. below those.