Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] clean: new option --exclude-from

From: Jeff King <hidden>
Date: 2016-06-15 23:07:21

On Thu, Nov 26, 2015 at 09:44:25AM -0500, James wrote:
From: James Rouzier <redacted>

Specify a file to read for exclude patterns.
---
Lots of commands care about excludes (e.g., "add", "status").

Should this perhaps be an option to the main "git" to append to the set
of excludes?

You can kind-of do this already with:

  git -c core.excludesfile=/path/to/whatever clean ...

but of course you might be using core.excludesfile already. I wonder if
that config option should take multiple values and respect all of them,
rather than last-one-wins.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help