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
1 task done
mineo opened this issue Jun 4, 2016 · 1 comment
Closed
1 task done

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

mineo opened this issue Jun 4, 2016 · 1 comment
Labels
bug Something that's not working as intended
Milestone

Comments

@mineo
Copy link
Contributor

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 Something that's not working as intended label Jun 4, 2016
@faho faho added this to the 2.3.1 milestone Jun 4, 2016
@faho faho closed this as completed in 410d92e Jun 4, 2016
@Fuyukai
Copy link

Fuyukai commented Jun 4, 2016

That's some damn fast bug resolution right there.

krader1961 pushed 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.
Labels
bug Something that's not working as intended
Projects
None yet
Development

No branches or pull requests

3 participants