Thread (6 messages) 6 messages, 1 author, 2025-07-25
STALE368d
Revisions (6)
  1. v6 [diff vs current]
  2. v7 [diff vs current]
  3. v7 [diff vs current]
  4. v8 [diff vs current]
  5. v1 [diff vs current]
  6. v1 current

[PATCH 0/2] Avoid submodule overwritten and skip redundant active entries

From: K Jayatheerth <hidden>
Date: 2025-07-25 16:24:17

Changes:
1. Test now has an explicit error message in patch 1 
2. Nice catch on the double function calls those were not needed 
   a single function call to git_config_get_string_multi did get job done.
3. While I am at it also fixed some indentation issues (Only hoping i didn't create any unknown ones)
and localized the loop variables.

K Jayatheerth (2):
  submodule: prevent overwriting .gitmodules on path reuse
  submodule: skip redundant active entries when pattern covers path

 Documentation/git-submodule.adoc |  7 +++++
 builtin/submodule--helper.c      | 54 ++++++++++++++++++++++++++------
 t/t7400-submodule-basic.sh       | 22 +++++++++++++
 t/t7413-submodule-is-active.sh   | 15 +++++++++
 4 files changed, 88 insertions(+), 10 deletions(-)

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