From: Jon Forrest Date: Sun, 18 Jan 2026 17:50:27 GMT Subject: Re: Repost: Inconsistent Behavior in 'git add' (git 2.52.0)? Message-ID: In-Reply-To: Thanks for your response. This is indeed a very minor issue. On 1/15/26 8:55 AM, Junio C Hamano wrote: > It is plausible to teach "git add" to treat paths that are > explicitly named on the command line (as opposed to the paths that > are discovered due to recursion) differently, but that would be a > new feature, not a bugfix, I would think. Agreed. I had been thinking of 'git add' as a kind of database transaction, where either everything happens, or nothing happens. An excluded file isn't considered the same type of error as an invalid file, which is fine as long as a user is aware of this behavior. The fact that 'git add' warns about ignored files helps. Again, this is a tiny, tiny issue. Cordially, Jon Forrest