-
-
Notifications
You must be signed in to change notification settings - Fork 278
Error for commiting without staging #580
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Good idea. I suppose that the error you are getting now is the underlying This would be covered by the aforementioned git output parsing in #537. Feel free to add a comment under that issue for a git error which can be parsed and recognized. |
ok |
Well, the possible issue is that you can do an empty commit with the |
Thanks - fixed: |
Is your feature request related to a problem? Please describe.
Not really tho seeing an error message makes it seem something bad happened
Describe the solution you'd like
If no files are currently staged it would be nice to have a message say "Please stage files before commiting" same as the message when pushing and pulling
Describe alternatives you've considered
I have none
Additional context
The request seems self explanatory
The text was updated successfully, but these errors were encountered: