threads / discuss / 21246

Q: how to check for -crlf property for a set of files using git command line?

Subject: Q: how to check for -crlf property for a set of files using git command line?

## tl;dr

2 messages between Oct 15, 2009 and Oct 15, 2009.

replies: 1people: 2as markdown or json

Constantine Plotnikov· Oct 15, 2009, 09:15 UTC · lore
Hello!

I'm interested how to check for -crlf property (from .gitattributes) on the set of files using git command line. I'm also interested how to query for values specified in .gitattributes in general from scripts. Parsing .gitattributes looks like too complex way of doing this.

Constantine
Johannes Sixt· Oct 15, 2009, 09:25 UTC · re: Constantine Plotnikov · lore

Re: Q: how to check for -crlf property for a set of files using git command line?

Constantine Plotnikov schrieb:
> I'm interested how to check for -crlf property (from .gitattributes)
> on the set of files using git command line. I'm also interested how to
> query for values specified in .gitattributes in general from scripts.
> Parsing .gitattributes looks like too complex way of doing this.
man git-check-attr
-- Hannes

← back to recent threads