Re: [PATCH] Fix mishandling of $Id$ expanded in the repository copy in convert.c
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 26, 2007, 19:05 UTC
- Message-ID
- <7vveefiex4.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200705261012.50530.andyparkins@gmail.com>
Andy Parkins <andyparkins@gmail.com> writes:
Show 5 quoted lines
> I had to jump through quite a few hoops to get the expanded $Id$ into a > repository (originally it was because I used an older version of git in > one place, and a newer one in another). > > I'll see what I can do to make a test case though.
Wouldn't it be sufficient to:
(1) prepare a file with "$Id$", use ident in .gitattributes,
check it in and commit; (2) remove it from the working tree, check it out with
"checkout -f"; (3) temorarily move away .gitattributes, modify the file, and
check it in;(4) move .gitattributes back into its place, and commit.