From: Junio C Hamano Date: Mon, 22 Jan 2024 21:45:05 GMT Subject: Re: Fwd: Unexpected behavior of ls-files command when using --others --exclude-from, and a .gitignore file which resides in a subdirectory Message-ID: In-Reply-To: <20240122213410.GA811766@coredump.intra.peff.net> Jeff King writes: > PS I hadn't realized that --exclude-per-directory had been marked as > deprecated. I do agree with e750951e74 (ls-files: guide folks to > --exclude-standard over other --exclude* options, 2023-01-13) in its > goal of guiding people to the easiest option, but I don't know that > there has been any discussion about removing the other ones. I do not think there is any value in _removing_ the perfectly well working --exclude* options, even though I think --exclude-standard should be what users and scriptors should be using if they want to emulate what Git does internally.