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

Re: GSoC 2017

From
Valery Tolstov <me@vtolstov.org>
Date
Mar 7, 2017, 23:22 UTC
Message-ID
<1488928920.8812.2@smtp.yandex.ru>

Decided to rewrite module_clone to use connect_work_tree_and_git_dir as my microproject by suggestion of Stefan Bellar. https://public-inbox.org/git/CAGZ79kY+1E-wg0-uzGJmE+haOE+1WCmg0Eux7rWGtkU_aBDQ9g@mail.gmail.com/

It seems that connect_work_tree_and_git_dir needs to be slightly changed to deal with submodules. Because path to config file for submodules lies not directly in .git directory we need to know whether the path is submodule or not. Can I use submodule_from_path to determine this? I mean what if NULL result also indicates error sometimes?

Another possible solution is to pass the flag indicating that path is submodule or not. But I think this solution is bad.

Regards,
  Valery Tolstov
Message 1 of 1 in “Re: GSoC 2017”
  1. Valery TolstovMar 7, 2017

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.