Skip to content

Unhandled error when commiting an empty stage #79

@aerosol

Description

@aerosol

Steps to reproduce:

  1. no staged changes
  2. leader M
  3. CC
  4. type commit message
  5. CC

results with

Error detected while processing function magit#commit_command[12]..<SNR>71_mg_git_commit:

Would be way nicer to warn the user that there's nothing to commit (or simply disable CC).

PS. Thanks for a really nice plugin!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions