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

[PATCH] cg-mkpatch: Show diffstat before the patch

From
Jonas Fonseca <fonseca@diku.dk>
Date
Apr 26, 2005, 22:58 UTC
Message-ID
<20050426225855.GA28560@diku.dk>
Show diffstat before the patch.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>

--- commit a738ed98e4557877f8bcd3b992aa55579b22b9d1 tree 2447d3a399200c8f736344822969f88f675612dd parent ed095b1a965517f1674b812a9978c60eb907e192 author Jonas Fonseca <fonseca@diku.dk> 1114554627 +0200 committer Jonas Fonseca <fonseca@diku.dk> 1114554627 +0200

 cg-mkpatch |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)
Index: cg-mkpatch
===================================================================
--- 6159f313b10f0cfcdfedd63d6fb044029fe46aaa/cg-mkpatch  (mode:100755 sha1:5ba423cbbb3e5f72cd7fb74f2873d49b60557f12)
+++ 2447d3a399200c8f736344822969f88f675612dd/cg-mkpatch  (mode:100755 sha1:25c67a29296730daeac00e43fd4c18cf914a1c87)
@@ -23,7 +23,10 @@
 		echo $line >>$header
 	done
 	echo
-	cg-diff -p -r $id
+	cg-diff -p -r $id > $header
+	cat $header | diffstat
+	echo
+	cat $header
 	rm $header
 }
 
-- 
Jonas Fonseca
Next: Petr Baudis
Message 1 of 4 in “cg-mkpatch: Show diffstat before the patch”
  1. cg-mkpatch: Show diffstat before the patchJonas Fonseca, Apr 26, 2005
  2. Petr BaudisApr 27, 2005
  3. YOSHIFUJI Hideaki / 吉藤英明Apr 28, 2005
  4. Petr BaudisApr 28, 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.