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-meta commit -amend (typo in --amend) causes some confusing behaviour #699

Open
jhedwardyang opened this issue Mar 6, 2019 · 0 comments

Comments

@jhedwardyang
Copy link
Contributor

Having a typo (missing a "-" during git meta commit --amend) causes an interesting (but correct) behaviour.

Repro: git meta commit -amend

Actual: -amend resolves to -a -m end and creates a new commit with the message "end".

Expected: Possibly rejecting like git commit does?

$ git commit -amend
error: did you mean `--amend` (with two dashes ?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant