Re: [PATCH] Fix mishandling of $Id$ expanded in the repository copy in convert.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 2007, May 26, Junio C Hamano wrote:

> 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.

I'm glad to have you confirm that.  I wasn't sure if git would do 
something clever and reading the .gitattributes from the same commit as 
the file for which is being checked out.

If the above would work, then even simpler:

 (1) Commit a file with $Id: blah blah blah $ in it.
 (2) Add a .gitattributes with ident
 (3) Check out.

Patch to follow.


Andy

-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux