If I view a submodule repo with the exact name "system", SourceTree:
- Displays the wrong path for files in the repo history and staging area.
- Fails to display diffs (just an activity spinner is shown)
- Will not stage or commit file changes - an error is shown complaining that the file doesn't exist.
This is a very strange and specific problem. It only happens if the submodule is named exactly "system". For example, it won't happen if the submodule is named "system1", or even if the submodule is place in a subdirectory e.g. "deps/system".
It appears to be related to the `worktree=../../../system` value in the submodule's .gitconfig, because "../../../system" is shown before each filename in past commits and in the commit view (see attached screenshots).
This happens with any repo, so it is very easy to reproduce:
- Clone any repo: `git clone git@github.com:githubtraining/hellogitworld.git`
- Add a any other repo as a submodule named "system": `cd hellogitworld; git submodule add git@github.com:githubtraining/caption-this.git system`
- View the submodule repo in SourceTree: `stree system`
- Note that "../../../system" is shown as a prefix to filenames in the commit file list.
- Note that a diff is not shown, just a spinner forever:

- Make a change to a file: `echo "file changes" >> system/README.md`
- Attempt to stage the changes:

- Attempt to commit the changes:
