Skip to content

config includes 3: revenge of the killer includes

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2docs: add a basic description of the config APIDocumentation/technical/api-config.txt+101 -011 replies
2/2config: add include directiveDocumentation/config.txt Documentation/git-config.txt Documentation/technical/api-config.txt +4 more+268 -82 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] config includes 3: revenge of the killer includes

So here's a third version of the config include patches that I think are sane. For those of you who missed episode 2, our heroes decided to drop the include-from-ref bits from the series, but otherwise incorporated all suggestions. There was a surprise cliffhanger ending in which it was discovered that suppressing duplicate include files was actually the villain!

This version keeps a simple depth counter to stop cycles from causing infinite loops, but otherwise allows multiple inclusion of files.

And now, the exciting conclusion...

[1/2]: docs: add a basic description of the config API [2/2]: config: add include directive

-Peff