Re: [BUG] git-add doesn't apply filepatterns to tracked files
From: Junio C Hamano <hidden> Date: 2016-06-15 22:50:12
Kevin Ballard [off-list ref] writes:
It seems that git-add doesn't match filepatterns against tracked files,
This is an issue known for a long time (and the one I had been bitching
about every time I had a chance). Tracked ones obey diff-index pathspec
rules (leading path match only) while untracked ones use gitignore
pathspec rules.