From 3b026417eaa1f32f53b85d1b131194ae1cbbf068 Mon Sep 17 00:00:00 2001 From: Eric Sunshine Date: Sun, 22 Jul 2018 05:57:07 -0400 Subject: interdiff: teach show_interdiff() to indent interdiff A future change will allow "git format-patch --interdiff= -1" to insert an interdiff into the commentary section of the lone patch of a 1-patch series. However, to prevent the inserted interdiff from confusing git-am, as well as human readers, it needs to be indented. Therefore, teach show_interdiff() how to indent. Signed-off-by: Eric Sunshine Signed-off-by: Junio C Hamano --- interdiff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interdiff.h') diff --git a/interdiff.h b/interdiff.h index 793c0144fe..01c730a5c9 100644 --- a/interdiff.h +++ b/interdiff.h @@ -3,6 +3,6 @@ struct rev_info; -void show_interdiff(struct rev_info *); +void show_interdiff(struct rev_info *, int indent); #endif -- cgit v1.3