All of lore.kernel.org
 help / color / mirror / Atom feed
* help for git format-patch lost diffstat
@ 2022-04-24  6:41 FanJun Kong
  2022-04-24  6:47 ` FanJun Kong
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: FanJun Kong @ 2022-04-24  6:41 UTC (permalink / raw)
  To: git; +Cc: FanJun Kong

Hi, 

Here are steps of what I am doing:

First, I created two commits to a demo project.

when I use command:
git format-patch --cover-letter -1

cat 0000-cover-letter.patch

From 2e62ef46d5627319c4cb11be81079e3364fca40c Mon Sep 17 00:00:00 2001
From: FanJun Kong <bh1scw@gmail.com>
Date: Sun, 24 Apr 2022 14:31:45 +0800
Subject: [PATCH 0/1] *** SUBJECT HERE ***

*** BLURB HERE ***

FanJun Kong (1):
  Second commit.

   1.c | 4 ++++
   1 file changed, 4 insertions(+)

--
2.32.0 (Apple Git-132)

ok, you can see the cover letter has diffstat, just above "--".

Then I change command to:

git format-patch --cover-letter -2

cat 0000-cover-letter.patch

From 2e62ef46d5627319c4cb11be81079e3364fca40c Mon Sep 17 00:00:00 2001
From: FanJun Kong <bh1scw@gmail.com>
Date: Sun, 24 Apr 2022 14:34:48 +0800
Subject: [PATCH 0/2] *** SUBJECT HERE ***

*** BLURB HERE ***

FanJun Kong (2):
  First commit.
  Second commit.

--
2.32.0 (Apple Git-132)

Comparing with last command, I just want to get 2 patches,
but this time the diffstat is missing.

I am not sure if this is a bug or I miss some options.

I googled this issue, but not got too much.

Thanks for your time.
Fanjun Kong

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-04-25 17:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-24  6:41 help for git format-patch lost diffstat FanJun Kong
2022-04-24  6:47 ` FanJun Kong
2022-04-25  8:09 ` Eric Sunshine
2022-04-25  9:45   ` FanJun Kong
2022-04-25 17:25   ` Junio C Hamano
2022-04-25  8:14 ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.