Bug 230955

Summary: [patch] Some speedup mergemaster
Product: Base System Reporter: Dmitry Wagin <dmitry.wagin>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Feedback Timeout    
Severity: Affects Some People CC: markj
Priority: --- Keywords: easy, install, patch, patch-ready
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-mergemaster.sh
none
patch-mergemaster none

Description Dmitry Wagin 2018-08-27 17:15:56 UTC
Created attachment 196605 [details]
patch-mergemaster.sh

adding the '-m1' flag to grep will small speedup mergemaster.


> man grep

-m num, --max-count=num
    Stop reading the file after num matches.
Comment 1 Dmitry Wagin 2018-08-27 17:19:04 UTC
Created attachment 196606 [details]
patch-mergemaster
Comment 2 Mark Johnston freebsd_committer freebsd_triage 2020-10-05 15:27:53 UTC
Sorry that this never got attention.  I tried it and didn't observe any significant speedup.