Open
Description
If a user attempts to commit with --amend
flag, it will duplicate the co-authored-by
.
What is the expected behaviour for this?
Should we clean all the current authors, if any? Or, just ignore?
Below some suggestion for simply ignore amends
IS_AMEND=$(ps -ocommand= -p $PPID | grep -e '--amend');
if [ -n "$IS_AMEND" ]; then
return;
fi