You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
If a user attempts to commit with
--amend
flag, it will duplicate theco-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⤵️
The text was updated successfully, but these errors were encountered: