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

Re: [PATCH 6/9] For each exclude pattern, store information about where it came from

From: Philip Oakley <hidden>
Date: 2016-06-15 22:54:37

From: "Junio C Hamano" <redacted>
Sent: Sunday, September 02, 2012 8:02 PM
"Philip Oakley" [off-list ref] writes:
quoted
Is there a way to identify the config core.excludesfile if present?
i.e. that it is from that config variable, rather than directory
traversal.
If the code handles $GIT_DIR/info/exclude then that configuration
would also be handled the same way, no?
Probably not. The $GIT_DIR/info/exclude is directly a path, while the 
core.excludesfile could point anywhere. This assumes the path to the 
relevant ignore file is shown.

Given the suggested report format in the Documentation, this path could 
be reported as 'coreexclude', not just an 'exclude'.

If I've understood the regular code correctly, the core.excludesfile is 
always at one end of the exclude struct so should be easy to check at 
that position. 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help