git ignore logic does not work as advertised

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm using vcsh[1] to have my dotfiles in GIT. With that I use a .gitignore file 
referenced by core.excludesfile that looks like this:

# ignore everything by default
*

# but do not ignore emacs stuff
!.emacs.d/

# but than again please ignore backup files inside the .emacs.d folder
.emacs.d/backups

Now I'd expect git status to show everything in .emacs.d but not to show 
.emacs.d/backups. However the .emacs.d/backups folder is still shown in git 
status. I'd say that this is not in line with the man page and might be 
considered a bug.

[1] https://github.com/RichiH/vcsh

Thank you,

Thomas Koch, http://www.koch.ro
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]