scripts: hide double git reference check error
authorThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 29 Aug 2016 08:15:47 +0000 (10:15 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 13 Sep 2016 13:35:29 +0000 (15:35 +0200)
commitba5dfa7f021a899b48c5d3e95095dcb241401dc6
treeed9c26f23d8f29ea0cd1acf75a3b6aa451b8798d
parent924f5c4604c93351c2bb957bf831dff8c16fd590
scripts: hide double git reference check error

When checking a git reference which does not exist, a git error
with the long git-branch usage is printed:

% scripts/check-git-log.sh '-1 3780cbd'
error: malformed object name 2de9f8551ff9
usage: git branch ...
  [a lot of lines]
Wrong 'Fixes' reference:
  Fixes: 2de9f8551ff9 ("ethdev: fix documentation for queue start/stop")

The error from the script is sufficient so the git error can be hidden.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
scripts/check-git-log.sh