public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Edke <edke.kraken@gmail•com>
To: git@vger•kernel.org
Subject: problems setting gitattribute ident for a whole directory
Date: Fri, 7 Aug 2009 08:21:22 -0700 (PDT)	[thread overview]
Message-ID: <24866724.post@talk.nabble.com> (raw)


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.

                 reply	other threads:[~2009-08-07 15:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24866724.post@talk.nabble.com \
    --to=edke.kraken@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox