Skip to content

Cannot open local nested repositories #2121

@SpectralCascade

Description

@SpectralCascade

With git, it is possible to have nested repositories (where one clones or initialises a repository within a subfolder of a repository). I use this functionality on a daily basis, as the git submodule feature does not meet my needs in the same way when it comes to large projects with many moving parts and individuals working on those projects.

Sourcegit has a bug where nested repositories do not open on Linux (probably also other platforms but I have not tested this), which can be reproduced like so:

  1. Start Sourcegit.
  2. Click "Open Repository".
  3. Locate an existing git repository that lives in a subfolder of another git repository.
  4. Select/Open the folder.
  5. Instead of opening the sub-repository, Sourcegit opens the parent directory's git repository.

I would consider this to be a bug rather than a feature request as git itself supports this, as do other git clients such as Sourcetree.

Metadata

Metadata

Assignees

Labels

need-more-infoExtra information or replay is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions