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 is not a tag name but matches > same commit. $commit~0 does this. > > Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx> I suggest using "$commit^{commit}", to make it more clear. > -mtime=`git show --format=%ct "$commit" --` > +mtime=`git show --format=%ct "$commit"~0 --` > tarargs="--owner=root --group=root --mtime=@$mtime" -- Eduardo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html