git-completion.bash: silence "not a valid object" errors
commitca87dd623d24590c4d48a922effa1d9e1e1fd253
authorDylan Smith <dylan.ah.smith@gmail.com>
Fri, 11 Jan 2013 08:06:22 +0000 (11 03:06 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Jan 2013 16:44:08 +0000 (11 08:44 -0800)
tree9b8b5c438c1b8f701f606712795b6e87caf9547c
parentbafc478f1618534fcb85bedc0fa224bd2d462441
git-completion.bash: silence "not a valid object" errors

Trying to complete the command

  git show master:./file

would cause a "Not a valid object name" error to be output on standard
error. Silence the error so it won't appear on the command line.

Signed-off-by: Dylan Smith <dylan.ah.smith@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash