repocache: suppress some confusing git output
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 19 Aug 2014 15:15:47 +0000 (18:15 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 19 Aug 2014 15:15:47 +0000 (18:15 +0300)
commit99d2b89c03c23e8b87eb3d61661819e0efd7ef7c
treedca4173432008fea645cdce1ced0c70de3d2b955
parentb8548b7c5bc5aa7683c391a43bb27707787550c0
repocache: suppress some confusing git output

Suppress "fatal: ref XXXX is not a symbolic ref" lines printed into
stderr by git in get_ref(). Having a git error here is expected as we
fall back to rev-parse in this case.

Change-Id: Ieba96ee314e470fe7e5613a8a788bf40ab8b7042
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp_repocache/__init__.py