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

[PATCH 1/2] gitk: align the commit summary format to the documentation

From
Beat Bolli <dev+git@drbeat.li>
Date
Aug 26, 2016, 16:59 UTC
Message-ID
<1472230741-5161-1-git-send-email-dev+git@drbeat.li>

In 175d38c (SubmittingPatches: document how to reference previous commits, 2016-07-28) the format for referring to older commits was specified.

Make the text generated by the "Copy commit summary" command match this format.

Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Cc: Paul Mackerras <paulus@samba.org>
---
 gitk-git/gitk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gitk-git/gitk b/gitk-git/gitk
index 805a1c7..a27bf99 100755
--- a/gitk-git/gitk
+++ b/gitk-git/gitk
@@ -9382,7 +9382,7 @@ proc mktaggo {} {
 proc copysummary {} {
     global rowmenuid autosellen
 
-    set format "%h (\"%s\", %ad)"
+    set format "%h (%s, %ad)"
     set cmd [list git show -s --pretty=format:$format --date=short]
     if {$autosellen < 40} {
         lappend cmd --abbrev=$autosellen
-- 
2.7.2
Next: Beat Bolli
Message 1 of 12 in “gitk: align the commit summary format to the documentation”
  1. 1/2 gitk: align the commit summary format to the documentationBeat Bolli, Aug 26, 2016
  2. 2/2 SubmittingPatches: hint at gitk's "Copy commit summary" commandBeat Bolli, Aug 26, 2016
  3. Junio C HamanoAug 26, 2016
  4. Jacob KellerAug 27, 2016
  5. Junio C HamanoAug 26, 2016
  6. Stefan BellerAug 26, 2016
  7. Beat BolliAug 26, 2016
  8. Junio C HamanoAug 26, 2016
  9. Stefan BellerAug 26, 2016
  10. Johannes SixtAug 27, 2016
  11. Junio C HamanoAug 29, 2016
  12. Jeff KingAug 29, 2016

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.