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

[PATCH] git-bugreport.txt: adjust reference to strftime(3)

From
Todd Zullinger <tmz@pobox.com>
Date
May 18, 2020, 19:37 UTC
Message-ID
<20200518193736.19320-1-tmz@pobox.com>

The strftime(3) man page is outside of the Git suite. Refererence it as we do other external man pages and avoid creating a broken link when generating the HTML documentation.

Signed-off-by: Todd Zullinger <tmz@pobox.com>
---
Hi Emily,

While building 2.27.0-rc0, I noticed a broken link crept into the HTML docs for git-bugreport. I believe this change matches most of our existing references to external man pages.

Some are enclosed in backticks, while most are not. My first instinct was to use backticks. I avoided that to be consistent with the majority of other references. But I didn't look closely to see if newer additions use backticks versus older changes do not.

The current "link:strftime[3]" tries to create a link to strftime named 3, which doesn't seem like what we want. :)

Thanks, Todd

 Documentation/git-bugreport.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-bugreport.txt b/Documentation/git-bugreport.txt
index 7fe9aef34e..9edad66a63 100644
--- a/Documentation/git-bugreport.txt
+++ b/Documentation/git-bugreport.txt
@@ -46,7 +46,7 @@ OPTIONS
 --suffix <format>::
 	Specify an alternate suffix for the bugreport name, to create a file
 	named 'git-bugreport-<formatted suffix>'. This should take the form of a
-	link:strftime[3] format string; the current local time will be used.
+	strftime(3) format string; the current local time will be used.
 
 GIT
 ---
-- 
2.26.1
Next: Junio C Hamano
Message 1 of 3 in “git-bugreport.txt: adjust reference to strftime(3)”
  1. git-bugreport.txt: adjust reference to strftime(3)Todd Zullinger, May 18, 2020
  2. Junio C HamanoMay 18, 2020
  3. Todd ZullingerMay 18, 2020

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.