The matching for git aliases ignores parameters that may be included in the alias. This causes YSU to recommend aliases that do something different (and in my case even are longer than the command I typed). YSU should only recommend aliases, that do not contain parameters not included in the command.
Example:
I have an alias, that allows me to redo the last commit with git recommit:
The matching for git aliases ignores parameters that may be included in the alias. This causes YSU to recommend aliases that do something different (and in my case even are longer than the command I typed). YSU should only recommend aliases, that do not contain parameters not included in the command.
Example:
I have an alias, that allows me to redo the last commit with
git recommit
:Now, for any git-commit command the alias is suggested, even though using it would do something different: