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

Re: [PATCH v4] gitk: Add a "Copy commit summary" command

From
Paul Mackerras <paulus@samba.org>
Date
Aug 13, 2015, 07:37 UTC
Message-ID
<20150813073708.GA17652@fergus.ozlabs.ibm.com>
In-Reply-To
<1437218139-7031-1-git-send-email-dev+git@drbeat.li>
On Sat, Jul 18, 2015 at 01:15:39PM +0200, Beat Bolli wrote:
Show 15 quoted lines
> When referring to earlier commits in commit messages or other text, one
> of the established formats is
> 
>     <abbrev-sha> ("<summary>", <author-date>)
> 
> Add a "Copy commit summary" command to the context menu that puts this
> text for the currently selected commit on the clipboard. This makes it
> easy for our users to create well-formatted commit references.
> 
> The <abbrev-sha> is produced with the %h format specifier to make it
> unique. Its length can be controlled with the gitk preference
> "Auto-select SHA1 (length)", or, if this preference is set to its
> default value (40), with the Git config setting core.abbrev.
> 
> Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Thanks, applied.
Paul.
Previous: Beat BolliNext: Beat Bolli
Message 6 of 7 in “gitk: Add a "Copy commit summary" command”
  1. gitk: Add a "Copy commit summary" commandBeat Bolli, Jul 18, 2015
  2. Beat BolliJul 21, 2015
  3. Paul MackerrasJul 21, 2015
  4. Beat BolliJul 21, 2015
  5. gitk: adjust the menu line numbers to compensate for the new entryBeat Bolli, Aug 11, 2015
  6. Paul MackerrasAug 13, 2015
  7. Beat BolliAug 13, 2015

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.