git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* format-patch on permission change gives empty patch
@ 2010-10-07  0:37 David Miller
  2010-10-07  0:40 ` David Miller
  0 siblings, 1 reply; 9+ messages in thread
From: David Miller @ 2010-10-07  0:37 UTC (permalink / raw)
  To: git


When I ask git to format-patch a commit that is just a file
permission change, it ends up generating an empty file, not
even the commit message is included.

davem@sunset:~/src/GIT/net-2.6$ git show
commit a5dbc62ed61bf4cc57e22b78e5794880f1c74b90
Author: Joe Perches <joe@perches.com>
Date:   Wed Oct 6 17:32:49 2010 -0700

    Documentation/networking/ixgbevf.txt: Change file permissions to 644
    
    Signed-off-by: Joe Perches <joe@perches.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
You have new mail in /var/mail/davem
davem@sunset:~/src/GIT/net-2.6$ git format-patch HEAD^
0001-Documentation-networking-ixgbevf.txt-Change-file-per.patch
davem@sunset:~/src/GIT/net-2.6$ ls -l 0001-Documentation-networking-ixgbevf.txt-Change-file-per.patch 
-rw-r--r-- 1 davem davem 0 Oct  6 17:36 0001-Documentation-networking-ixgbevf.txt-Change-file-per.patch
davem@sunset:~/src/GIT/net-2.6$ git version
git version 1.7.3.1

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

end of thread, other threads:[~2010-10-07 20:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07  0:37 format-patch on permission change gives empty patch David Miller
2010-10-07  0:40 ` David Miller
2010-10-07  4:13   ` Junio C Hamano
2010-10-07  4:40     ` Junio C Hamano
2010-10-07  8:15       ` Sverre Rabbelier
2010-10-07 10:05         ` Jakub Narebski
2010-10-07 10:12           ` Sverre Rabbelier
2010-10-07 19:06       ` Nicolas Pitre
2010-10-07 20:29         ` 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;
as well as URLs for NNTP newsgroup(s).