Re: [PATCH] make-release: fix mtime on rhel6 beta

2010-06-24 Thread Eduardo Habkost
On Thu, Jun 24, 2010 at 07:09:15PM +0300, Michael S. Tsirkin wrote: > On Thu, Jun 24, 2010 at 01:12:04PM -0300, Eduardo Habkost wrote: > > On Thu, Jun 24, 2010 at 06:48:52PM +0300, Michael S. Tsirkin wrote: > > > With recent git versions (like one in rhel6 beta), > > > git prints out tag info in ad

Re: [PATCH] make-release: fix mtime on rhel6 beta

2010-06-24 Thread Michael S. Tsirkin
On Thu, Jun 24, 2010 at 01:12:04PM -0300, Eduardo Habkost wrote: > On Thu, Jun 24, 2010 at 06:48:52PM +0300, Michael S. Tsirkin wrote: > > With recent git versions (like one in rhel6 beta), > > git prints out tag info in addition to > > requested format, if passed a tag name. > > This breaks make-r

Re: [PATCH] make-release: fix mtime on rhel6 beta

2010-06-24 Thread Eduardo Habkost
On Thu, Jun 24, 2010 at 06:48:52PM +0300, Michael S. Tsirkin wrote: > With recent git versions (like one in rhel6 beta), > git prints out tag info in addition to > requested format, if passed a tag name. > This breaks make-release. > To get just the time as we want, we need to > pass something that

[PATCH] make-release: fix mtime on rhel6 beta

2010-06-24 Thread Michael S. Tsirkin
With recent git versions (like one in rhel6 beta), git prints out tag info in addition to requested format, if passed a tag name. This breaks make-release. To get just the time as we want, we need to pass something that is not a tag name but matches same commit. $commit~0 does this. Signed-off-by