Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

mineo opened this issue Jun 4, 2016 · 1 comment
Labels
bug
Milestone

Comments

@mineo
Copy link
Contributor

@mineo mineo commented Jun 4, 2016

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 closed this in 410d92e Jun 4, 2016
@Fuyukai
Copy link

@Fuyukai Fuyukai commented Jun 4, 2016

That's some damn fast bug resolution right there.

krader1961 added a commit that referenced this issue Jun 21, 2016
This allows us to run git commands outside of a git repo.

Fixes #3114.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.