Skip to content

Shared config

Nguyễn Thái Ngọc Duy git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3config: read full file content before parsingconfig.c+35 -270 replies
2/3config: add git_config_from_sha1() to read from a blobconfig.c+34 -02 replies
3/3config: add core.sharedconfigcache.h config.c environment.c+16 -05 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC/WIP 0/3] Shared config

Another approach is [1]. I think this one is somewhat simpler and exposes less risk by putting the shared config under version control.

This is not complete (for example, git-prune should learn about this), but is there any serious flaw that I missed?

One thing that I haven't thought of is the shared config between subprojects. Maybe there's a better approach for subprojects.

(The resistance to nd/struct-pathspec seems great. This is the second time I come to address it and end up with something else)

[1] http://thread.gmane.org/gmane.comp.version-control.git/162309

Nguyễn Thái Ngọc Duy (3):
config: read full file content before parsing
config: add git_config_from_sha1() to read from a blob
config: add core.sharedconfig

 cache.h       |    1 +
 config.c      |  110 +++++++++++++++++++++++++++++++++++++++++++--------------
 environment.c |    1 +
 3 files changed, 85 insertions(+), 27 deletions(-)
Signature · 1 line
1.7.3.3.476.g893a9