Commit cd3f20d
committed
Don't append co-authors to commit message more than once
Let's make sure that the output of `git mob-print` isn't already present
in the commit message before we append it.
This avoids an issue whereby amending a commit or interactive rebasing
could lead to the co-authors being added to the commit message
multiple times.
It would probably be even better to match each coauthor individually,
since coauthors could still be added multiple times if the mob changes,
but that's a bigger change and in the mean time this still seems like
an improvement.
PR: #521 parent a6a141d commit cd3f20d
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
0 commit comments