brackets-userland / brackets-git

brackets-git — git extension for adobe/brackets
Other
657 stars 192 forks source link

Modified Folders in git [enhancement] #395

Open sreevisakh opened 10 years ago

sreevisakh commented 10 years ago

When I add/remove a new folder in git bracket shows all the files inside that folder as seperate entry. It will be helpful if only the folder path is displayed like in git status command


Brackets 0.37.0-12014 (linux), Git 1.7.9.5 & Brackets-Git 0.12.2

zaggino commented 10 years ago

Current behaviour was requested by users - this way you can select which files from a folder do you want to commit.

This behaviour you want can be implemented as a possible settings switch - marking for future enhancements.

0b10011 commented 10 years ago

The folder itself (assuming it contains children files that can be committed) could be added to the list of modified/untracked files as well, with it's indeterminate state set if only some of its children are selected.

A setting that forces one way or the other just seems strange, as sometimes I will do both in the same commit (commit an entire directory in one case, and only a couple files in another case).