emacscollective / emacs.g

The Emacs Collective
ISC License
88 stars 49 forks source link

Subproject commit-foo-dirty #4

Closed sooheon closed 8 years ago

sooheon commented 8 years ago

In the magit status buffer of .emacs.d, I'm seeing these Unstaged changes of "dirty" commits which can never be staged. Is this normal? The more packages I assimilate, will I just have to deal with this clutter for every submodule?

screen shot 2016-05-26 at 6 35 23 am
sooheon commented 8 years ago

So this is because of git seeing the autoload.el and other files created by emacs. These are all uncommitted changes, so it sees them as dirty. It was only a matter of putting

*-autoloads.el
*.elc
dir

into .gitignore_global

tarsius commented 8 years ago

He. I was just about to tell you that. Glad you figured it out ;-)

sooheon commented 8 years ago

Yep. have you had any problems with having dir a global gitignore? That's the one that bothers me. If I could, I'd rather prevent it from being made (it looks like something for info nodes?). Any experience there?

tarsius commented 8 years ago

Yep. have you had any problems with having dir a global gitignore?

No, cannot think of any other files named dir.

it looks like something for info nodes?

These files are needed by info. If they are not created, then info ignores the *.info files.