threads / patch / 118

patch, 6 partsshow-diff: Remove stale comments

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

## tl;dr

One message between Apr 18, 2005 and Apr 18, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Junio C Hamano· Apr 18, 2005, 23:33 UTC · lore

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
Show changes to show-diff.c +0 −3
--- 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)
 {

← back to recent threads