`git commit --<tab>` shows error message when outside of a repository #3114

Closed
mineo opened this Issue Jun 4, 2016 · 1 comment

Projects

None yet

3 participants

@mineo
Contributor
mineo commented Jun 4, 2016 edited

Reproduction Steps:

  1. git commit --<tab>

Expected behavior:

Just show me the list of options.

Observed behavior:

wieland@mineo ~> git commit --fatal: Not a git repository (or any of the parent directories): .git

--amend  (Amend the log message of the last commit)  --help  (Display the manual of a git command)

Additional information:

Trying to complete filenames at that point doesn't make sense, git commit --filename doesn't work.


Fish version: 2.3.0


For 2.3.1 release:

  • Update release notes
@faho faho added the bug label Jun 4, 2016
@faho faho added this to the 2.3.1 milestone Jun 4, 2016
@faho faho added a commit that closed this issue Jun 4, 2016
@faho faho git completions: Ignore stderr everywhere
This allows us to run git commands outside of a git repo.

Fixes #3114.
410d92e
@faho faho closed this in 410d92e Jun 4, 2016
@SunDwarf
SunDwarf commented Jun 4, 2016

That's some damn fast bug resolution right there.

@krader1961 krader1961 added a commit that referenced this issue Jun 21, 2016
@faho @krader1961 faho + krader1961 git completions: Ignore stderr everywhere
This allows us to run git commands outside of a git repo.

Fixes #3114.
29664c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment