Skip to content

submodule config lookup API

Heiko Voigt git 5 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 11 repliesIn review
  2. v44 patches 2 repliesSuperseded
  3. v34 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches7 repliesSuperseded
v15 patches20 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4implement submodule config API for lookup of .gitmodules values.gitignore Documentation/technical/api-submodule-config.txt Makefile +6 more+674 -08 replies
2/4extract functions for submodule config set and lookupsubmodule.c+97 -450 replies
3/4use new config API for worktree configurations of submodulesDocumentation/technical/api-submodule-config.txt builtin/checkout.c diff.c +6 more+104 -1380 replies
4/4do not die on error of parsing fetchrecursesubmodules optionbuiltin/fetch.c submodule-config.c submodule-config.h +3 more+66 -170 replies

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH v5 0/4] submodule config lookup API

There have been no code changes in since the last iteration. I changed the title for the first patch since I realized that the cache is just an implementation detail and what we are really doing is to provide a new API for reading values from .gitmodules. I also added an extra paragraph in the commit message explaining that fact.

The last iteration can be found here:

http://article.gmane.org/gmane.comp.version-control.git/270545

There is no interdiff since no code changed.

Heiko Voigt (4):
implement submodule config API for lookup of .gitmodules values extract functions for submodule config set and lookup use new config API for worktree configurations of submodules do not die on error of parsing fetchrecursesubmodules option

 .gitignore                                       |   1 +
 Documentation/technical/api-submodule-config.txt |  63 +++
 Makefile                                         |   2 +
 builtin/checkout.c                               |   1 +
 builtin/fetch.c                                  |   1 +
 diff.c                                           |   1 +
 submodule-config.c                               | 484 +++++++++++++++++++++++
 submodule-config.h                               |  29 ++
 submodule.c                                      | 122 ++----
 submodule.h                                      |   4 +-
 t/t7411-submodule-config.sh                      | 153 +++++++
 test-submodule-config.c                          |  76 ++++
 12 files changed, 839 insertions(+), 98 deletions(-)
 create mode 100644 Documentation/technical/api-submodule-config.txt
 create mode 100644 submodule-config.c
 create mode 100644 submodule-config.h
 create mode 100755 t/t7411-submodule-config.sh
 create mode 100644 test-submodule-config.c
Signature · 1 line
2.4.2.391.g2979c89