Add 'strip-if-invalid' mode to the --signed-commits=<mode> option in git fast-import
The --signed-commits=<mode> option in git fast-import allow users to decide what should be done when commits with signatures are imported.
It would be useful for users to strip signatures when they are invalid, so let's add a new 'strip-if-invalid' mode for this option to do that.
This is related to #519.
Edited by Christian Couder