
19 Dec
2011
19 Dec
'11
12:33 p.m.
Dear Holger Brunck,
In message 4EEF13D4.5020304@keymile.com you wrote:
You can insert such information when you export the files from git, say by adding a line like:
Last commit date: $Format:%H %cD$
...
After reading the doc I don't know how it could be used in my usecase. Please correct me if I am wrong, but this does only work in combination with the "git archive" command. And I don't want to do an archive, I want to export/copy some files out of the git tree into /tftpboot.
You could for example use the following command to copy this file into /tftpboot:
$ cd board/keymile/scripts $ git archive --format=tar HEAD README | \ ( cd /tftpboot ; tar -xpvf - )
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
In general, they do what you want, unless you want consistency.
- Larry Wall in the perl man page