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

[PATCH 7/6] show-diff: Remove stale comments

From
Junio C Hamano <junkio@cox.net>
Date
Apr 18, 2005, 23:33 UTC
Message-ID
<7vk6mzslr9.fsf@assigned-by-dhcp.cox.net>

Patch 1/6 in the series has already cleaned the interface to call sq_expand(), but the comment before that function still carries the stale interface warning. Remove it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---
 show-diff.c |    3 ---
 1 files changed, 3 deletions(-)
show-diff.c: b592fb131fc3949e1197bed461b8eb143f8e73ff
--- a/show-diff.c
+++ b/show-diff.c
@@ -34,9 +34,6 @@ static void prepare_diff_cmd(void)
  *  name     ==> name      ==> 'name'
  *  a b      ==> a b       ==> 'a b'
  *  a'b      ==> a'\''b    ==> 'a'\''b'
- *
- * NOTE! The returned memory belongs to this function so
- * do not free it.
  */
 static char *sq_expand(char *src)
 {
Message 1 of 1 in “show-diff: Remove stale comments”
  1. 7/6 show-diff: Remove stale commentsJunio C Hamano, Apr 18, 2005

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.