Why is the .git directory listed in Explorer views? [message #719240] |
Fri, 26 August 2011 09:55  |
Eclipse User |
|
|
|
I've been meaning to ask for some time: Why is the .git directory listed in Explorer views? It seems odd to me that internal repository files and directories should be exposed in this way. Both Subclipse and MercurialEclipse hide this kind of information (.svn, .hg). I understand that hackers might want to muck around manually with those files. But I'm not sure it's a good idea to encourage that kind of thing.
The .git directory is also listed in the "Working Directory" section of entries in the Git Repositories view. This is even odder: certainly .git, which is to say, the repository itself, is not part of "Working Directory".
|
|
|
|
|
|
|
|
|
Re: (no subject) [message #722347 is a reply to message #722278] |
Mon, 05 September 2011 09:15  |
Eclipse User |
|
|
|
For the "Git Repositories" view this sounds great: make the contents of .git accessible but in its own top-level entry, "GIT", parallel to "Branches", "Tags", "References", "Remotes" and "Working directory". Or maybe call it "GIT_DIR" to match what the bash completion helper uses for the prompt.
I don't think .git should be displayed in Explorer views though. It's too confusing to casual users.
|
|
|
Powered by
FUDForum. Page generated in 0.29205 seconds