Re: [PATCH 0/3] attributes

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

 



On 4/13/07, Junio C Hamano <junkio@xxxxxxx> wrote:
So, you can express:

        *       crlf !nodiff
        *.[oa]  !crlf nodiff
        *.ps    nodiff
        t/*.ps  !nodiff

to mean:

        In general, I want all files to undergo autocrlf
        conversion, and I do not want to disable textual diff
        output for them, but files whose name match *.o or *.a
        are binaries so do not touch them with autocrlf and do
        not show textual diff for them.  Also, I do not want to
        see diffs for *.ps files because I cannot read
        PostScript, but I do want to see diffs of PostScript
        files in t/ directory.  In either case, PostScript files
        undergo autocrlf conversion.


I'd suggest to extend git-ls-files with a switch listing the
files with attributes (and their attributes, of course).
Will help to diagnose problems with attribute assignment.
-
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]