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)
Mar 12 2024, 3:34 AM
Unknown Object (File)
Mar 12 2024, 3:29 AM
Unknown Object (File)
Mar 12 2024, 3:29 AM
Unknown Object (File)
Mar 8 2024, 4:36 AM
Unknown Object (File)
Feb 11 2024, 5:09 PM
Unknown Object (File)
Jan 31 2024, 3:34 PM
Unknown Object (File)
Dec 23 2023, 5:46 AM
Unknown Object (File)
Dec 20 2023, 2:44 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.