Ben Boeckel
unread,Oct 4, 2017, 2:36:31 PM10/4/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dirk Pranke, James Robinson, Erik Smith, gn-dev
On Wed, Oct 04, 2017 at 11:09:08 -0700, Dirk Pranke wrote:
> Following up on what James wrote, the reason there isn't any source
> globbing is that there's no good way to reliably detect when the glob would
> return new results and you need to rebuild; the closest you can usually get
> is to look at the timestamps for modifications on the containing directory,
> but that doesn't tend to be reliable.
Note that if you're trying to build in the middle of a conflict
resolution (something I do occasionally at least), Git will drop the
conflict files with the same extension as the base file, so you may end
up compiling conflict files as well with a glob. Generally, globs aren't
the best idea for collecting source files.
--Ben