git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/1] [RFC][GSoC] submodule: enforcing stricter checks

From
Shourya Shukla <shouryashukla.oo@gmail.com>
Date
Feb 11, 2020, 17:03 UTC
Message-ID
<20200211170359.31835-1-shouryashukla.oo@gmail.com>
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(-)
-- 
2.20.1
Next: Shourya Shukla
Message 1 of 5 in “[RFC][GSoC] submodule: enforcing stricter checks”
  1. 0/1 [RFC][GSoC] submodule: enforcing stricter checksShourya Shukla, Feb 11, 2020
  2. 1/1 [RFC][GSoC] submodule: using 'is_writing_gitmodules_ok()' for a stricter checkShourya Shukla, Feb 11, 2020
  3. Johannes SchindelinFeb 13, 2020
  4. Shourya ShuklaFeb 13, 2020
  5. Johannes SchindelinFeb 14, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.