#778921 Completion spews error messages if not in a git repository

Package:
git
Source:
git
Description:
fast, scalable, distributed revision control system
Submitter:
Josh Triplett
Date:
2015-02-21 20:27:07 UTC
Severity:
normal
#778921#3
Date:
2015-02-21 20:25:47 UTC
From:
To:
Completion for many git commands (such as git log or git diff) spews
error messages on top of the current command line if not in a git
repository.  However, several git commands do actually make sense
outside a git repository; for instance, "git diff --no-index
--color-words /path/to/file1 /path/to/file2".  I noticed this issue when
running that and trying to complete the filenames.

- Josh Triplett