Page MenuHomeFreeBSD

mergemaster: better defaults for SOURCEDIR
ClosedPublic

Authored by imp on Aug 14 2018, 2:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 12, 12:43 PM
Unknown Object (File)
Wed, Oct 29, 9:57 PM
Unknown Object (File)
Sun, Oct 26, 8:42 AM
Unknown Object (File)
Tue, Oct 21, 11:24 PM
Unknown Object (File)
Sun, Oct 19, 11:08 PM
Unknown Object (File)
Oct 11 2025, 2:55 AM
Unknown Object (File)
Oct 2 2025, 5:21 AM
Unknown Object (File)
Sep 30 2025, 5:26 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.