[Libguestfs] [PATCH] podwrapper.sh: Use date from ChangeLog

Richard W.M. Jones rjones at redhat.com
Mon Jul 9 20:05:04 UTC 2012


On Mon, Jul 09, 2012 at 08:57:15PM +0100, Richard W.M. Jones wrote:
> (2) In the 'make dist' rule, write a 'date' file and use that here?
> Only 'date' would have to be included in git.

This could be useful:

$ git show -s --format=%ci $(git rev-parse HEAD)
2012-07-08 12:55:44 +0100

$ git show -s --format=%ci $(git rev-parse HEAD) | awk '{print $1}'
2012-07-08

(redirected into the '$top_srcdir/DATE' file)

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Libguestfs mailing list