Web lists-archives.com

Re: [PATCH/RFC] Makefile: dedup list of files obtained from ls-files




Eric Sunshine <sunshine@xxxxxxxxxxxxxx> writes:

> As a person who rarely, if ever, uses git-ls-files, I'm having trouble
> understanding why de-duping isn't the default behavior when the
> listing is otherwise not annotated (that is, when -t/-v/-f/--debug are
> not used).

It was because the implementor of the original was bold enough to
say "if it hurts, don't do it" to those who try to combine flags
that may produce overlapping result that lead to duplicates.