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

Re: [PATCH] Documentation/submodule: add command references and update options

From
Marc Branchaud <marcnarc@xiplink.com>
Date
Jul 26, 2011, 18:54 UTC
Message-ID
<4E2F0D4B.2000209@xiplink.com>
In-Reply-To
<4E2F0AF7.2070306@web.de>
On 11-07-26 02:44 PM, Jens Lehmann wrote:
Show 32 quoted lines
> Am 25.07.2011 22:30, schrieb Junio C Hamano:
>> Jens Lehmann <Jens.Lehmann@web.de> writes:
>>
>>> @@ -140,11 +146,14 @@ summary::
>>>  	Show commit summary between the given commit (defaults to HEAD) and
>>>  	working tree/index. For a submodule in question, a series of commits
>>>  	in the submodule between the given super project commit and the
>>> -	index or working tree (switched by --cached) are shown. If the option
>>> -	--files is given, show the series of commits in the submodule between
>>> +	index or working tree (switched by '--cached') are shown. If the option
>>> +	'--files' is given, show the series of commits in the submodule between
>>>  	the index of the super project and the working tree of the submodule
>>> -	(this option doesn't allow to use the --cached option or to provide an
>>> +	(this option doesn't allow to use the '--cached' option or to provide an
>>>  	explicit commit).
>>> ++
>>> +Using the '--submodule=log' option with linkgit:git-diff[1] will provide the
>>> +same information.
>>
>> I am not a huge fan of these extra paragraphs, especially in reality it is
>> not "provide the same" but "the same and a lot of other".
>>
>> I dunno.
> 
> I added them because in a discussion with Marc it became apparent that users
> can't learn about what diff and status can do for them by checking the submodule
> man-page. But you are right about "the same and a lot of other", I will update
> the wording of those paragraphs.
> 
> Maybe someone else has a better idea how to inform users that git diff and
> status can tell you a lot (and sometimes even more than the submodule script)
> about the state submodules are in?
I thought the brief sentence in the patch was fine, myself.
		M.
Previous: Jens Lehmann
Message 4 of 4 in “Documentation/submodule: add command references and update options”
  1. Documentation/submodule: add command references and update optionsJens Lehmann, Jul 23, 2011
  2. Junio C HamanoJul 25, 2011
  3. Jens LehmannJul 26, 2011
  4. Marc BranchaudJul 26, 2011

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.