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

Re: [PATCH] status&commit: Teach them to show commits of modified submodules.

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 3, 2007, 00:01 UTC
Message-ID
<7vfxzoyz7f.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<46dff0320711021650q4e56d025q63a961176c682a14@mail.gmail.com>
"Yin Ping" <pkufranky@gmail.com> writes:
Show 10 quoted lines
> On 11/3/07, Junio C Hamano <gitster@pobox.com> wrote:
>> How does this work when you are a toplevel developer and do not
>> have the submodule cloned and checked out?
>>
>> Our code should treat having the submodule directory and not
>> having it when there is a mode 160000 entry in the index equally
>> likely.  Cloning and checking-out is _not_ the norm (nor the
>> exception).
>>
> When submodule is not cheched out, it is never modified.
How so?  Can't you update the index alone?
Previous: Yin PingNext: Yin Ping
Message 4 of 11 in “status&commit: Teach them to show commits of modified submodules.”
  1. status&commit: Teach them to show commits of modified submodules.Ping Yin, Nov 2, 2007
  2. Junio C HamanoNov 2, 2007
  3. Yin PingNov 2, 2007
  4. Junio C HamanoNov 3, 2007
  5. Yin PingNov 4, 2007
  6. Yin PingNov 4, 2007
  7. Yin PingNov 4, 2007
  8. Junio C HamanoNov 4, 2007
  9. Yin PingNov 4, 2007
  10. Junio C HamanoNov 6, 2007
  11. Yin PingNov 7, 2007

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.