Return appropriate information instead of entire commit diff. Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>