From: Alex Riesen Date: Fri, 13 Apr 2007 15:02:17 GMT Subject: Re: [PATCH 0/3] attributes Message-ID: <81b0412b0704130802n185bd009l8c72a1dd6c00eb16@mail.gmail.com> In-Reply-To: <7vslb4d4wv.fsf@assigned-by-dhcp.cox.net> On 4/13/07, Junio C Hamano 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.