Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/maint-format-patch'
author
Junio C Hamano
<gitster@pobox.com>
Sun, 18 Jan 2009 07:05:50 +0000
(23:05 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 18 Jan 2009 07:05:50 +0000
(23:05 -0800)
* jc/maint-format-patch:
format-patch: show patch text for the root commit
builtin-log.c
patch
|
blob
|
history
raw
(from parent 1:
33256e6
)
diff --git
a/builtin-log.c
b/builtin-log.c
index c1e2c6a4c53a7b1b40f3868a0288a6be4c7cb247..c7aa48e74821b9b8aea2f99041cf323c9057c8da 100644
(file)
--- a/
builtin-log.c
+++ b/
builtin-log.c
@@
-936,6
+936,13
@@
int cmd_format_patch(int argc, const char **argv, const char *prefix)
* get_revision() to do the usual traversal.
*/
}
+
+ /*
+ * We cannot move this anywhere earlier because we do want to
+ * know if --root was given explicitly from the comand line.
+ */
+ rev.show_root_diff = 1;
+
if (cover_letter) {
/* remember the range */
int i;