Skip to content

RFC submodule: enforcing stricter checks

Shourya Shukla git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1submodule: using 'is_writing_gitmodules_ok()' for a stricter checksubmodule.c+14 -23 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/1] [RFC][GSoC] submodule: enforcing stricter checks

Greetings everyone!

I have tried to improve the checks in some functions of 'submodule.c' and attempted to make them stricter. Initially, not all conditions were satisfied by the functions 'update_path_in_gitmodules()' and 'remove_path_from_gitmodules()' while changing(updating/removing paths) the '.gitmodules' file.

Now, on implementing the 'is_writing_gitmodules_ok()' function in one of the if cases of the functions, all the conditions are checked before returning a value unlike before.

Thanks,
Shourya Shukla

Shourya Shukla (1):
submodule: using 'is_writing_gitmodules_ok()' for a stricter check

 submodule.c | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
Signature · 1 line
2.20.1