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

Re: [PATCH 0/2] gitk: Support of SHA256 repos

From
Takashi Iwai <tiwai@suse.de>
Date
May 12, 2025, 14:45 UTC
Message-ID
<87sel9ubup.wl-tiwai@suse.de>
In-Reply-To
<4ef123de-a338-4c06-8983-aa6c5380ad13@kdbg.org>

On Thu, 08 May 2025 08:21:10 +0200, Johannes Sixt wrote:

Show 48 quoted lines
> 
> Am 20.03.25 um 16:41 schrieb Takashi Iwai:
> > Hi,
> > 
> > I recently stumbled on the problem of gitk with sha256 repo (while
> > testing the new openSUSE package git workflow that enforces SHA256);
> > gitk aborts immediately with a message "Can't parse git log output:
> > {commit xxx..}".
> > 
> > After skimming over the net, I found the patch [*] posted in 4 years
> > ago to add the support for sha256, but nothing happened since then,
> > unfortunately.
> > 
> > So here is the revived patch for gitk to add sha256 support, with
> > cleanups and corrections, in addition to the enhancement patch for the
> > missing auto-select length config for sha256.
> > 
> > Only lightly tested on a few sha256 repos.
> > 
> > 
> > Takashi
> > 
> > [*] https://patchwork.kernel.org/project/git/patch/pull.979.git.1623687519832.gitgitgadget@gmail.com
> > 
> > ===
> > 
> > Rostislav Krasny (1):
> >   gitk: Add a basic support of SHA256 repositories into Gitk
> > 
> > Takashi Iwai (1):
> >   gitk: Add auto-select length preference for SHA256
> > 
> >  gitk-git/gitk | 96 +++++++++++++++++++++++++++++++++++++--------------
> >  1 file changed, 71 insertions(+), 25 deletions(-)
> > 
> 
> Thank you.
> 
> After these patches, I still see a  few mentions of "40" that refer to
> object id lengths and are not converted.
> 
> - a comment above proc longid
> - a regexp in proc shortids
> - in proc setlink
> - in proc mkpatch
> - in proc mktag
> 
> They should be converted, too, I think.

OK, let me try those, too. I guess it shouldn't be too difficult. (I didn't know of those features :)

thanks,
Takashi
Previous: Johannes Sixt
Message 9 of 9 in “gitk: Support of SHA256 repos”
  1. 0/2 gitk: Support of SHA256 reposTakashi Iwai, Mar 20, 2025
  2. 1/2 gitk: Add a basic support of SHA256 repositories into GitkTakashi Iwai, Mar 20, 2025
  3. Johannes SixtMay 8, 2025
  4. Takashi IwaiMay 12, 2025
  5. 2/2 gitk: Add auto-select length preference for SHA256Takashi Iwai, Mar 20, 2025
  6. Johannes SixtMay 8, 2025
  7. Takashi IwaiMay 12, 2025
  8. Johannes SixtMay 8, 2025
  9. Takashi IwaiMay 12, 2025

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.