ejmr/php-mode — pull request #98 by jjl (2013-05-26 18:38:40+00:00)
Title: Gitignore to stop git complaining after byte compilation

My emacs configuration (@jjl/elisp) uses your module as a git submodule. Today I added a Makefile that compiles the elisp i've written and that i depend on (to reduce the startup time of my emacs config, which is getting to be quite excessive given the number of modules I pull in). Unfortunately because you don't have a .gitignore with *.elc in (actually, you don't have a gitignore at all), this causes git to flag changes in the submodule as follows:

# Changes not staged for commit:
# (use "git add ..." to update what will be committed)
# (use "git checkout -- ..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
#	modified: vendor/php-mode (untracked content)

There are six such modules at current, which is quite distracting when doing a git status. The only reasonable things I could do to resolve this problem (given that I use my emacs config over a handful of machines, not just one) were:
- Fork your repo and submodule the fork with the gitignore fixed
- Submit the gitignore directly to you.

Obviously I've gone the latter route. Please save me from having to maintain quite so many forks of elisp modules.

Thanks,
James