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

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

From
Beat Bolli <dev+git@drbeat.li>
Date
Aug 13, 2015, 19:02 UTC
Message-ID
<55CCE9C9.5070209@drbeat.li>
In-Reply-To
<20150813073708.GA17652@fergus.ozlabs.ibm.com>
On 13.08.15 09:37, Paul Mackerras wrote:
Show 19 quoted lines
> On Sat, Jul 18, 2015 at 01:15:39PM +0200, Beat Bolli wrote:
>> 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.
> 

Please also apply the follow-up patch in this thread [1]. It fixes menu entry numbers that were changed by this patch.

Thanks, Beat

[1] http://article.gmane.org/gmane.comp.version-control.git/275729
Previous: Paul Mackerras
Message 7 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.