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