Sublime Forum

Git statuses not working on --shared repos

#1

If I create a clone of a locally checked out repository with “git clone --shared myrepo myrepo2” and then add myrepo2 to a Sublime Text project (so myrepo2 appears as a folder in the sidebar), the git status of all the files in there shows as a green arrow (“Added”) even though git status on the command line reports the repository clean.

I suspect Sublime’s git support cannot parse the structure of a --shared repo.

Sublime Text x64 (Windows) 3.2.1 build 3207, shared repo created with git version 2.17.0.windows.1
Problem reproduces on OS X 3207 too, on a --shared repo created with git version 2.14.3 (Apple Git-98)

0 Likes

#2

I don’t think Sublime Merge/Text support repository formats outside of the standard format & worktrees. It’s likely that git related changes will make it to SM first, here’s a link to an existing SM ticket for --bare repository support if you’d like to create your own for --shared:

0 Likes