Page MenuHomeFreeBSD

mergemaster: better defaults for SOURCEDIR
ClosedPublic

Authored by imp on Aug 14 2018, 2:38 PM.
Tags
None
Referenced Files
F118752017: D16709.id.diff
Sun, Jun 1, 1:33 PM
Unknown Object (File)
Fri, May 16, 9:02 AM
Unknown Object (File)
Wed, May 14, 5:06 AM
Unknown Object (File)
Mon, May 12, 7:59 AM
Unknown Object (File)
Sun, May 11, 8:00 AM
Unknown Object (File)
May 2 2025, 10:31 AM
Unknown Object (File)
Apr 25 2025, 8:59 AM
Unknown Object (File)
Apr 14 2025, 8:23 AM

Details

Summary

mergemaster: better defaults for SOURCEDIR

If we can't find a Makefile.inc1 in the specified / default SOURCEDIR, and
there's a Makefile.inc1 in the current directory, offer the user the choice
of using . for SOURCEDIR.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18793
Build 18459: arc lint + arc unit

Event Timeline

vangyzen added a subscriber: vangyzen.
vangyzen added inline comments.
usr.sbin/mergemaster/mergemaster.sh
490

I don't often see "default" used as a verb, but it works.

This revision is now accepted and ready to land.Aug 14 2018, 3:03 PM
asomers added a subscriber: asomers.

I use mergemaster the same way. Apart from the "default" word choice, this revision LGTM.

usr.sbin/mergemaster/mergemaster.sh
490

It seems inappropriate to describe a setting that only applies to a single invocation as the "default".

usr.sbin/mergemaster/mergemaster.sh
490

Blah blah blah defaults to blah uses default as a verb. I see it all the time. :)
However 'to set SOURCEDIR to' likely is better wording since it matches what the program is doing

This revision now requires review to proceed.Aug 14 2018, 3:33 PM
This revision is now accepted and ready to land.Aug 14 2018, 3:37 PM
imp marked 3 inline comments as done.Aug 14 2018, 3:38 PM

I'll vote "no objection." (The issue doesn't really affect the bulk of my use,)

allanjude added a subscriber: allanjude.

+1 this patch, has caught me out a number of times.