{"thread":{"id":"19769","subject":"[PATCH] doc tweak for git-send-email","startedAt":"2009-06-10T17:56:11Z","lastAt":"2009-06-12T06:20:51Z","messageCount":5,"participants":["Paolo Bonzini","Stephen Boyd","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"116022","messageId":"1244656571-15560-1-git-send-email-bonzini@gnu.org","threadId":"19769","inReplyTo":null,"subject":"[PATCH] doc tweak for git-send-email","fromName":"Paolo Bonzini","fromEmail":"bonzini@gnu.org","sentAt":"2009-06-10T17:56:11Z","receivedAt":"2009-06-10T17:56:11Z","isPatch":true,"sender":{"key":"bonzini@gnu.org","avatar":"https://avatars.githubusercontent.com/u/42082?v=4"},"body":"The git-send-email docs do not mention except in the usage lines\nthe combined patch formatting/sending ability of git-send-email.\nThis fills the hole.\n\nSigned-off-by: Paolo Bonzini <bonzini@gnu.org>\n---\n Documentation/git-send-email.txt |    3 +++\n 1 files changed, 3 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt\nindex eb851b3..02bb0d3 100644\n--- a/Documentation/git-send-email.txt\n+++ b/Documentation/git-send-email.txt\n@@ -33,6 +33,9 @@ script\n This format expects the first line of the file to contain the \"Cc:\" value\n and the \"Subject:\" of the message as the second line.\n \n+In addition, git send-email can be asked to generate patches with git\n+format-patch and send them.\n+\n \n OPTIONS\n -------\n-- \n1.6.0.3\n"},{"id":"116055","messageId":"4A30568E.7060503@gmail.com","threadId":"19769","inReplyTo":"1244656571-15560-1-git-send-email-bonzini@gnu.org","subject":"Re: [PATCH] doc tweak for git-send-email","fromName":"Stephen Boyd","fromEmail":"bebarino@gmail.com","sentAt":"2009-06-11T00:57:50Z","receivedAt":"2009-06-11T00:57:50Z","isPatch":true,"sender":{"key":"bebarino@gmail.com","avatar":"https://avatars.githubusercontent.com/u/38832?v=4"},"body":"Paolo Bonzini wrote:\n> The git-send-email docs do not mention except in the usage lines\n> the combined patch formatting/sending ability of git-send-email.\n> This fills the hole.\n>\n> Signed-off-by: Paolo Bonzini <bonzini@gnu.org>\n> ---\n>  Documentation/git-send-email.txt |    3 +++\n>  1 files changed, 3 insertions(+), 0 deletions(-)\n>\n> diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt\n> index eb851b3..02bb0d3 100644\n> --- a/Documentation/git-send-email.txt\n> +++ b/Documentation/git-send-email.txt\n> @@ -33,6 +33,9 @@ script\n>  This format expects the first line of the file to contain the \"Cc:\" value\n>  and the \"Subject:\" of the message as the second line.\n>  \n> +In addition, git send-email can be asked to generate patches with git\n> +format-patch and send them.\n> +\n\nYou are right that the docs don't mention this feature very clearly, but\nthis patch doesn't fill the hole for me.\n\nHow do I tell send-email to generate patches with format-patch? I know\nfrom looking at the code that send-email actually calls format-patch\nwith the rev-list passed on the command line.\n\nMaybe it would be more clear to say that rev-list can be specified in\nthe same way as format-patch? Also, could you update the first sentence\nin the description section? Obviously send-email takes more than just\npatches on the command line.\n"},{"id":"116060","messageId":"1244705427-3376-1-git-send-email-bonzini@gnu.org","threadId":"19769","inReplyTo":"4A30568E.7060503@gmail.com","subject":"[PATCH v2] doc tweak for git-send-email","fromName":"Paolo Bonzini","fromEmail":"bonzini@gnu.org","sentAt":"2009-06-11T07:30:27Z","receivedAt":"2009-06-11T07:30:27Z","isPatch":true,"sender":{"key":"bonzini@gnu.org","avatar":"https://avatars.githubusercontent.com/u/42082?v=4"},"body":"The git-send-email docs do not mention except in the usage lines\nthe combined patch formatting/sending ability of git-send-email.\nThis patch expands on the possible arguments to git-send-email\nand explains the meaning of the rev-list argument.\n\nSigned-off-by: Paolo Bonzini <bonzini@gnu.org>\n---\n Documentation/git-send-email.txt |    4 ++++\n 1 files changed, 4 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt\nindex 794224b..a282190 100644\n--- a/Documentation/git-send-email.txt\n+++ b/Documentation/git-send-email.txt\n@@ -14,6 +14,10 @@ SYNOPSIS\n DESCRIPTION\n -----------\n Takes the patches given on the command line and emails them out.\n+Patches can be specified as files, directories (which will send all\n+files in the directory), or directly as a revision list.  In the\n+last case, any format accepted by linkgit:git-format-patch[1] can\n+be passed to git send-email.\n \n The header of the email is configurable by command line options.  If not\n specified on the command line, the user will be prompted with a ReadLine\n-- \n1.6.0.3\n"},{"id":"116097","messageId":"4A317DC2.8010304@gmail.com","threadId":"19769","inReplyTo":"1244705427-3376-1-git-send-email-bonzini@gnu.org","subject":"Re: [PATCH v2] doc tweak for git-send-email","fromName":"Stephen Boyd","fromEmail":"bebarino@gmail.com","sentAt":"2009-06-11T21:57:22Z","receivedAt":"2009-06-11T21:57:22Z","isPatch":true,"sender":{"key":"bebarino@gmail.com","avatar":"https://avatars.githubusercontent.com/u/38832?v=4"},"body":"Paolo Bonzini wrote:\n> @@ -14,6 +14,10 @@ SYNOPSIS\n>  DESCRIPTION\n>  -----------\n>  Takes the patches given on the command line and emails them out.\n> +Patches can be specified as files, directories (which will send all\n> +files in the directory), or directly as a revision list.  In the\n> +last case, any format accepted by linkgit:git-format-patch[1] can\n> +be passed to git send-email.\n>  \n>  The header of the email is configurable by command line options.  If not\n>  specified on the command line, the user will be prompted with a ReadLine\n>   \n\nThanks, this is getting better. Just a quick note, the subject of this\npatch is sort of vague. You might want to come up with a better one,\nespecially because the body of the message is clear.\n"},{"id":"116122","messageId":"7vzlceas70.fsf@alter.siamese.dyndns.org","threadId":"19769","inReplyTo":"4A317DC2.8010304@gmail.com","subject":"Re: [PATCH v2] doc tweak for git-send-email","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-06-12T06:20:51Z","receivedAt":"2009-06-12T06:20:51Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Stephen Boyd <bebarino@gmail.com> writes:\n\n> Thanks, this is getting better. Just a quick note, the subject of this\n> patch is sort of vague. You might want to come up with a better one,\n> especially because the body of the message is clear.\n\nThanks; I'll retitle it to:\n\n    Documentation: git-send-mail can take rev-list arg to drive format-patch\n"}]}