Git development
 help / color / mirror / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: git@vger.kernel.org
Cc: Junio C Hamano <gitster@pobox.com>,
	Felipe Contreras <felipe.contreras@gmail.com>
Subject: [PATCH v2 2/3] format-patch: make full-diff enabled by default
Date: Sat, 28 Nov 2009 13:40:28 +0200	[thread overview]
Message-ID: <1259408429-5685-3-git-send-email-felipe.contreras@gmail.com> (raw)
In-Reply-To: <1259408429-5685-1-git-send-email-felipe.contreras@gmail.com>

It doesn't make much sense to generate partial patches (with some paths
omitted).

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 builtin-log.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/builtin-log.c b/builtin-log.c
index 1766349..1e06859 100644
--- a/builtin-log.c
+++ b/builtin-log.c
@@ -960,6 +960,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
 	rev.diff = 1;
 	rev.combine_merges = 0;
 	rev.ignore_merges = 1;
+	rev.full_diff = 1;
 	DIFF_OPT_SET(&rev.diffopt, RECURSIVE);
 
 	rev.subject_prefix = fmt_patch_subject_prefix;
-- 
1.6.6.rc0.59.g5117f7.dirty

  parent reply	other threads:[~2009-11-28 11:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-28 11:40 [PATCH v2 0/3] format-patch: improve pathspec usage Felipe Contreras
2009-11-28 11:40 ` [PATCH v2 1/3] format-patch: fix dashdash usage Felipe Contreras
2009-11-28 11:40 ` Felipe Contreras [this message]
2010-01-05 22:38   ` [PATCH v2 2/3] format-patch: make full-diff enabled by default Nanako Shiraishi
2009-11-28 11:40 ` [PATCH v2 3/3] format-patch: add test for dashdash Felipe Contreras
2009-11-28 19:47 ` [PATCH v2 0/3] format-patch: improve pathspec usage Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1259408429-5685-3-git-send-email-felipe.contreras@gmail.com \
    --to=felipe.contreras@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox