{"thread":{"id":"20453","subject":"problems setting gitattribute ident for a whole directory","startedAt":"2009-08-07T15:21:22Z","lastAt":"2009-08-07T15:21:22Z","messageCount":1,"participants":["Edke"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"119910","messageId":"24866724.post@talk.nabble.com","threadId":"20453","inReplyTo":null,"subject":"problems setting gitattribute ident for a whole directory","fromName":"Edke","fromEmail":"edke.kraken@gmail.com","sentAt":"2009-08-07T15:21:22Z","receivedAt":"2009-08-07T15:21:22Z","isPatch":false,"sender":{"key":"edke.kraken@gmail.com","avatar":null},"body":"\nHello. \n\nI'm moving from SVN to Git, started just two days ago. I'm amazed with Git\nso far, also using it with SVN solid.\n\nI'm having few difficulties setting ident attribute:\n\n1) Setting it for a whole directory. I tried .git/info/attributes,\n.gitattributes in root of my project, I tried some patterns ( app/*, app/,\napp* ), nothing work so far. Using app/* works for files placed in app\nfolder but I need to apply this attribute for a whole directory\n(recursively). \n\n2) If applied correctly, will it work with files that already exists in\nproject ? \n\n3) What I need to do so that changes (replacing $Id$ with hash) will show in\nall affected files ? I found some tutorial, where author applies this as rm\nfile; git checkout -- file. But how should I proceed for a whole project ? \n-- \nView this message in context: http://www.nabble.com/problems-setting-gitattribute-ident-for-a-whole-directory-tp24866724p24866724.html\nSent from the git mailing list archive at Nabble.com.\n"}]}