This currently means the same thing as --format=headers-only, but this name gives more freedom to change --format=headers-only without breaking existing versions of git. --- notmuch-reply.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/notmuch-reply.c b/notmuch-reply.c index 9ca1236..2b16dae 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -376,7 +376,8 @@ notmuch_reply_command (void *ctx, int argc, char *argv[]) opt = argv[i] + sizeof ("--format=") - 1; if (strcmp (opt, "default") == 0) { reply_format_func = notmuch_reply_format_default; - } else if (strcmp (opt, "headers-only") == 0) { + } else if (strcmp (opt, "headers-only") == 0 || + strcmp (opt, "headers-only-git") == 0) { reply_format_func = notmuch_reply_format_headers_only; } else { fprintf (stderr, "Invalid value for --format: %s\n", opt); -- 1.6.5.3