Details
- Reviewers
manu imp jhb - Commits
- rG1a50bf77af90: Add a tool to find MFC candidates
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Example use - find my MFC candidates under sys/
$ sh tools/tools/git/find-mfc.sh sys 64a790d26480 DTrace: remove sparc64 remnants in non-contrib code ... 301b2b02dfcf snd_hda: restore pin patch for headphones on Lenovo X1 7th Gen 2075d00fabb6 hwpmc: drop 0x before %p printf format string 9c296a210573 geom: Add HiFive boot partitions
tools/tools/git/find-mfc.sh | ||
---|---|---|
51 | This sorts by (but does not print) commit time - will comment |
tools/tools/git/find-mfc.sh | ||
---|---|---|
45 | I probably want to drop $authorarg here, actually -- we also want to exclude from the list commits that were MFC'd by someone else. |
As suggested on IRC: would be nice to have a '-X' option to take an input file that is a list of commits to ignore. I already use such a file now to manually filter. It would be nice if the format of this file was the same as the output of this tool so that one could just copy and paste lines for commits one wants to ignore in the future. (E.g. <hash> <descript> but just use cut or the like to pull the hash from the exclude file).
tools/tools/git/find-mfc.sh | ||
---|---|---|
40 | Do you want similar logic for merging to releng/X.Y (default from_branch stable/X in that case?) |
As suggested on IRC: would be nice to have a '-X' option to take an input file that is a list of commits to ignore.
Good idea, I'll work on that in a bit. If folks are happy enough with this in general I'll commit the current version and follow up with that.
tools/tools/git/find-mfc.sh | ||
---|---|---|
40 | Ah yes |
tools/tools/git/find-mfc.sh | ||
---|---|---|
30 | Extra t |
tools/tools/git/find-mfc.sh | ||
---|---|---|
30 | Thanks, fixed locally |
tools/tools/git/find-mfc.sh | ||
---|---|---|
107 | Per IRC, these are patterns, so it's matching the name component of an email address. Please comment accordingly. |
Thanks, definitely worth getting into the tree and iterating on further there if needed.