Git development
 help / color / mirror / Atom feed
* how to make a git-format patch
@ 2006-04-12 10:28 Aubrey
  2006-04-12 11:12 ` Jakub Narebski
  2006-04-12 14:04 ` Mathieu Chouquet-Stringer
  0 siblings, 2 replies; 5+ messages in thread
From: Aubrey @ 2006-04-12 10:28 UTC (permalink / raw)
  To: git

Hi list,

When I use GIT to generate a patch, I can use git-diff, if one file
changed, I can get the following patch:
=================================
diff --git a/net/packet/Kconfig b/net/packet/Kconfig
index 34ff93f..959c272 100644
--- a/net/packet/Kconfig
+++ b/net/packet/Kconfig
@@ -17,7 +17,7 @@ config PACKET

 config PACKET_MMAP
        bool "Packet socket: mmapped IO"
-       depends on PACKET
+       depends on PACKET && MMU
        help
          If you say Y here, the Packet protocol driver will use an IO
          mechanism that results in faster communication.
=================================
But I saw most of the git-format patches have a header in the front of
the patch file, like:
=================================
 * Added xxxxxx support

Signed-off-by: xxxxxxxx <xxxxxxx@email.com>
---

 net/packet/Kconfig |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/net/packet/Kconfig b/net/packet/Kconfig
index 34ff93f..959c272 100644
--- a/net/packet/Kconfig
+++ b/net/packet/Kconfig

----snip----
=================================

Just want to know how this kind of patch format generated.
Thanks for any hints.

Regards,
-Aubrey

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

end of thread, other threads:[~2006-04-13  5:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-12 10:28 how to make a git-format patch Aubrey
2006-04-12 11:12 ` Jakub Narebski
2006-04-12 14:04 ` Mathieu Chouquet-Stringer
2006-04-13  5:36   ` Aubrey
2006-04-13  5:53     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox