Re: Fwd: Unexpected behavior of ls-files command when using --others --exclude-from, and a .gitignore file which resides in a subdirectory
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 22, 2024, 21:45 UTC
- Message-ID
- <xmqq1qa9rqji.fsf@gitster.g>
- In-Reply-To
- <20240122213410.GA811766@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> 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.