atom / git-diff

Diff markers in Atom's gutter
MIT License
102 stars 36 forks source link

Global ignores from ~/.gitignore not merged with project .gitignore (e.g. .DS_Store) #84

Closed trkoch closed 6 years ago

trkoch commented 8 years ago

Global ignores from ~/.gitignore (referenced in ~/.gitconfig) are not merged with .gitignore of the project. Works for the git CLI, i.e. untracked files (which should be ignored) do not show up in command line.

In my case the file in question is '.DS_Store'. Since this file is hidden by default in Atom, this results in "invisible" added files (containing folder are green, but no file can be found).

Atom version: 1.3.3 OS and version: 10.11.2 Git version (CLI): 2.4.5

Additional information:

serhiiboreiko commented 7 years ago

The same problem (question).

maxbrunsfeld commented 6 years ago

We'd probably get this behavior for free if we stopped computing diffs using libgit2 and started using the git executable instead, like the github package does.

maxbrunsfeld commented 6 years ago

This issue was moved to atom/atom#18004