All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: Paolo Bonzini <bonzini@gnu.org>
Cc: Peter Karlsson <peter@softwolves.pp.se>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: Confused about "ident" filter
Date: Sat, 19 Apr 2008 01:27:30 -0700 (PDT)	[thread overview]
Message-ID: <m3skxiqmfr.fsf@localhost.localdomain> (raw)
In-Reply-To: <48076059.4040503@gnu.org>

Paolo Bonzini <bonzini@gnu.org> writes:

> Peter Karlsson wrote:
> > I tried doing "git checkout test.perl", I tried "git clone" to get a new
> > copy of the repository, but still it showed only "$Id$".
> 
> In fact I'm a little confused too.  The only way I found to expand
> "$Id$" consistently was "rm test.perl; git checkout test.perl", or "rm
> test.perl; git reset --hard HEAD".

I think that "git checkout -f test.perl" should work, forcing git to
replace existing file.

As to clone problem: it might be chicken and egg problem, with `ident`
filter needing .gitattribites in working directory during checkout
phase (currently there is no way to use gitattributes from a tree in
repository), and checkout writing this file.

-- 
Jakub Narebski
Poland
ShadeHawk on #git

      reply	other threads:[~2008-04-19  8:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-17  7:15 Confused about "ident" filter Peter Karlsson
2008-04-17 14:36 ` Paolo Bonzini
2008-04-19  8:27   ` Jakub Narebski [this message]

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=m3skxiqmfr.fsf@localhost.localdomain \
    --to=jnareb@gmail.com \
    --cc=bonzini@gnu.org \
    --cc=git@vger.kernel.org \
    --cc=peter@softwolves.pp.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.