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

Re: gitk with submodules does not show new commits on other branches

From
SKStephen Kelly <steveire@gmail.com>
Date
Jun 24, 2014, 10:07 UTC
Message-ID
<lobik7$a7b$1@ger.gmane.org>
In-Reply-To
<53A88067.5010908@web.de>
Jens Lehmann wrote:
Show 9 quoted lines
> Am 23.06.2014 20:24, schrieb Stephen Kelly:
>> Stephen Kelly wrote:
>> 
>>> I see that gitk is showing the output of git diff --submodule, similar
>>> to git submodule summary.
> 
> Right, and for your use case --submodule would have to learn a
> different value in addition to 'log' and 'short'. And the default
> is already configurable via the 'diff.submodule' config option.
Right.
Show 7 quoted lines
>>> Assuming that is not going to be changed, maybe I can hack
>>> parseblobdiffline locally. I have not really tried to read of write tcl
>>> code before though, so I'd still prefer a 'proper' solution somehow.
> 
> I'd prefer a proper solution too, which is exactly why I tried
> to understand your use case first before speculating about how
> it could be solved.
Thanks for your help!
>> I dug deeper and came up with this patch which suits my needs:
> 
> Yup, I think that's the core of the change necessary to help
> your workflow.
Ok, so I guess we can add --summary=commits ?

I don't write C code generally, so I'm not certain how that needs to be propagated.

Thanks,
Steve.
Previous: Jens Lehmann
Message 11 of 11 in “gitk with submodules does not show new commits on other branches”
  1. Stephen KellyJun 22, 2014
  2. Jens LehmannJun 22, 2014
  3. Stephen KellyJun 22, 2014
  4. Stephen KellyJun 23, 2014
  5. Jens LehmannJun 23, 2014
  6. Stephen KellyJun 23, 2014
  7. Stephen KellyJun 23, 2014
  8. Stephen KellyJun 23, 2014
  9. Stephen KellyJun 23, 2014
  10. Jens LehmannJun 23, 2014
  11. Stephen KellyJun 24, 2014

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.