From: Junio C Hamano Date: Wed, 08 Dec 2010 23:07:59 GMT Subject: Re: [BUG] git-add doesn't apply filepatterns to tracked files Message-ID: <7vipz3j228.fsf@alter.siamese.dyndns.org> In-Reply-To: <47FCD78C-5D8C-4FA5-88DC-26FDCC7361AD@sb.org> Kevin Ballard 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.