Merge branch 'es/format-patch-interdiff'
authorJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2018 20:53:55 +0000 (13:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2018 20:53:55 +0000 (13:53 -0700)
"git format-patch" learned a new "--interdiff" option to explain
the difference between this version and the previous atttempt in
the cover letter (or after the tree-dashes as a comment).

* es/format-patch-interdiff:
format-patch: allow --interdiff to apply to a lone-patch
log-tree: show_log: make commentary block delimiting reusable
interdiff: teach show_interdiff() to indent interdiff
format-patch: teach --interdiff to respect -v/--reroll-count
format-patch: add --interdiff option to embed diff in cover letter
format-patch: allow additional generated content in make_cover_letter()

1  2 
Makefile
builtin/log.c
log-tree.c
revision.h
diff --cc Makefile
index 7cf682001364a55a1bf68cd834fc5d0e1ad1658d,b2685190e1d9a6c0ad39bf3f5a6bd9a4e84f7273..b567ccca45883c15bc9b8dbd60abe6a88186620f
+++ b/Makefile
@@@ -884,7 -871,7 +884,8 @@@ LIB_OBJS += linear-assignment.
  LIB_OBJS += help.o
  LIB_OBJS += hex.o
  LIB_OBJS += ident.o
+ LIB_OBJS += interdiff.o
 +LIB_OBJS += json-writer.o
  LIB_OBJS += kwset.o
  LIB_OBJS += levenshtein.o
  LIB_OBJS += line-log.o
diff --cc builtin/log.c
index 517c5e67890d421fd1f15fb454221eb1fa0634f4,e990027c282564e4e60f829a83b546db3604d5e5..df4201131284317948de938242c22d9862c0ffbb
@@@ -30,8 -30,7 +30,9 @@@
  #include "gpg-interface.h"
  #include "progress.h"
  #include "commit-slab.h"
 +#include "repository.h"
 +#include "commit-reach.h"
+ #include "interdiff.h"
  
  #define MAIL_DEFAULT_WRAP 72
  
diff --cc log-tree.c
Simple merge
diff --cc revision.h
Simple merge