diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-01-23 18:59:59 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-23 18:59:59 -0800 |
commit | 5cb0f2745f83c01ee94d1739b7476504b4e20216 (patch) | |
tree | 01b8e073f19ede53a5778811550a95bb7c01641b | |
parent | d4029d30c76895b9055e9e30d476055a9ad19d8b (diff) | |
parent | 68c2ec7f43c4dc16833ff58af76ab20e9cdfad17 (diff) | |
download | git-5cb0f2745f83c01ee94d1739b7476504b4e20216.tar.gz git-5cb0f2745f83c01ee94d1739b7476504b4e20216.tar.xz |
Merge branch 'jc/maint-format-patch' into maint
* jc/maint-format-patch:
format-patch: show patch text for the root commit
-rw-r--r-- | builtin-log.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/builtin-log.c b/builtin-log.c index 99d1137b0..4420b4fd4 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -944,6 +944,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; |