git/list[1] front-page[2] threads[3] people[4] search[5] about
 

problems setting gitattribute ident for a whole directory

From
EEdke <edke.kraken@gmail.com>
Date
Aug 7, 2009, 15:21 UTC
Message-ID
<24866724.post@talk.nabble.com>
Hello. 

I'm moving from SVN to Git, started just two days ago. I'm amazed with Git so far, also using it with SVN solid.

I'm having few difficulties setting ident attribute:
1) Setting it for a whole directory. I tried .git/info/attributes,
.gitattributes in root of my project, I tried some patterns ( app/*, app/,
app* ), nothing work so far. Using app/* works for files placed in app
folder but I need to apply this attribute for a whole directory
(recursively). 
2) If applied correctly, will it work with files that already exists in
project ? 
3) What I need to do so that changes (replacing $Id$ with hash) will show in
all affected files ? I found some tutorial, where author applies this as rm
file; git checkout -- file. But how should I proceed for a whole project ? 
-- 
View this message in context: http://www.nabble.com/problems-setting-gitattribute-ident-for-a-whole-directory-tp24866724p24866724.html
Sent from the git mailing list archive at Nabble.com.
Message 1 of 1 in “problems setting gitattribute ident for a whole directory”
  1. EdkeAug 7, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.