Re: ls-files --exclude broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 15, 2010 at 7:29 PM, Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> wrote:
> I sense another use of negative pathspecs here..

Yeah, I'm really not sure I agree with the reasoning of b5227d8
(ls-files: excludes should not impact tracked files, 2009-10-12).

I thought about submitting a patch to revert b5227d8, but with an
additional option to guard the behavior
(--exclude-cached-files-too-pretty-please).

But I guess I don't see the harm in allowing excludes to apply to
cached files when it is explicitly requested on the command-line. Here
I think ls-files is slightly different than the other areas of git
that don't apply excludes to cached files as it's about, well, listing
files, and it's clear (I think) what the user wants.

But I'll go dig in the mailing list archives now to see if I can find
what motivated Jeff's change beyond what he gave in the commit
message.

j.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]