Page MenuHomeFreeBSD

mergemaster: better defaults for SOURCEDIR
ClosedPublic

Authored by imp on Aug 14 2018, 2:38 PM.
Tags
None
Referenced Files
F82987761: D16709.diff
Sat, May 4, 8:47 PM
Unknown Object (File)
Wed, May 1, 9:52 PM
Unknown Object (File)
Wed, May 1, 9:52 PM
Unknown Object (File)
Wed, May 1, 9:40 PM
Unknown Object (File)
Wed, May 1, 3:52 PM
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

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.