[CRIU] [PATCH 2/2] version: Print git id if present

Pavel Emelyanov xemul at parallels.com
Sat Sep 14 07:01:46 EDT 2013


On 09/13/2013 07:35 PM, Cyrill Gorcunov wrote:
> 
> If criu is built from git repo print git commit id, convenient for debug.
> 
> For example
> 
>  | $ ./criu -V
>  | Version: 0.7
>  | GitID: 7985251
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  crtools.c                | 2 ++
>  scripts/Makefile.version | 5 +++++
>  2 files changed, 7 insertions(+)
> 


both applied


More information about the CRIU mailing list