* [PATCH 0/3] git-am documentation @ 2009-05-04 6:46 Stephen Boyd 2009-05-04 6:46 ` [PATCH 1/3] git-am.txt: add an 'a', say what 'it' is, simplify a sentence Stephen Boyd 0 siblings, 1 reply; 8+ messages in thread From: Stephen Boyd @ 2009-05-04 6:46 UTC (permalink / raw) To: git; +Cc: Junio C Hamano The first two are minor grammatical fixes. I'm interested in what people think about patch 3. Stephen Boyd (3): git-am.txt: add an 'a', say what 'it' is, simplify a sentence git-am.txt: Use date instead of time or timestamp git-am.txt: reword extra headers in message body Documentation/git-am.txt | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/3] git-am.txt: add an 'a', say what 'it' is, simplify a sentence 2009-05-04 6:46 [PATCH 0/3] git-am documentation Stephen Boyd @ 2009-05-04 6:46 ` Stephen Boyd 2009-05-04 6:46 ` [PATCH 2/3] git-am.txt: Use date instead of time or timestamp Stephen Boyd 2009-05-04 11:43 ` [PATCH 1/3] git-am.txt: add an 'a', say what 'it' is, simplify a sentence Michael J Gruber 0 siblings, 2 replies; 8+ messages in thread From: Stephen Boyd @ 2009-05-04 6:46 UTC (permalink / raw) To: git; +Cc: Junio C Hamano It's nice to know that 'it' is git-am or the subject line. Whitespace implies characters so just remove characters. Signed-off-by: Stephen Boyd <bebarino@gmail.com> --- Documentation/git-am.txt | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index 1e71dd5..715531b 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -32,7 +32,7 @@ OPTIONS -s:: --signoff:: - Add `Signed-off-by:` line to the commit message, using + Add a `Signed-off-by:` line to the commit message, using the committer identity of yourself. -k:: @@ -118,8 +118,8 @@ The commit author name is taken from the "From: " line of the message, and commit author time is taken from the "Date: " line of the message. The "Subject: " line is used as the title of the commit, after stripping common prefix "[PATCH <anything>]". -It is supposed to describe what the commit is about concisely as -a one line text. +The "Subject: " line is supposed to concisely describe what the +commit is about in one line of text. The body of the message (the rest of the message after the blank line that terminates the RFC2822 headers) can begin with "Subject: " and @@ -128,8 +128,8 @@ to override the values of these fields. The commit message is formed by the title taken from the "Subject: ", a blank line and the body of the message up to -where the patch begins. Excess whitespace characters at the end of the -lines are automatically stripped. +where the patch begins. Excess whitespace at the end of each +line is automatically stripped. The patch is expected to be inline, directly following the message. Any line that is of the form: @@ -141,7 +141,7 @@ message. Any line that is of the form: is taken as the beginning of a patch, and the commit log message is terminated before the first occurrence of such a line. -When initially invoking it, you give it the names of the mailboxes +When initially invoking 'git-am', you give it the names of the mailboxes to process. Upon seeing the first patch that does not apply, it aborts in the middle. You can recover from this in one of two ways: -- 1.6.2.3 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/3] git-am.txt: Use date instead of time or timestamp 2009-05-04 6:46 ` [PATCH 1/3] git-am.txt: add an 'a', say what 'it' is, simplify a sentence Stephen Boyd @ 2009-05-04 6:46 ` Stephen Boyd 2009-05-04 6:46 ` [PATCH 3/3] git-am.txt: reword extra headers in message body Stephen Boyd 2009-05-04 7:15 ` [PATCH 2/3] git-am.txt: Use date instead of time or timestamp Jeff King 2009-05-04 11:43 ` [PATCH 1/3] git-am.txt: add an 'a', say what 'it' is, simplify a sentence Michael J Gruber 1 sibling, 2 replies; 8+ messages in thread From: Stephen Boyd @ 2009-05-04 6:46 UTC (permalink / raw) To: git; +Cc: Junio C Hamano Signed-off-by: Stephen Boyd <bebarino@gmail.com> --- Documentation/git-am.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index 715531b..c141261 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -85,7 +85,7 @@ default. You can use `--no-utf8` to override this. By default the command records the date from the e-mail message as the commit author date, and uses the time of commit creation as the committer date. This allows the - user to lie about author timestamp by using the same + user to lie about the author date by using the same timestamp as the committer date. --skip:: @@ -115,7 +115,7 @@ DISCUSSION ---------- The commit author name is taken from the "From: " line of the -message, and commit author time is taken from the "Date: " line +message, and commit author date is taken from the "Date: " line of the message. The "Subject: " line is used as the title of the commit, after stripping common prefix "[PATCH <anything>]". The "Subject: " line is supposed to concisely describe what the -- 1.6.2.3 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/3] git-am.txt: reword extra headers in message body 2009-05-04 6:46 ` [PATCH 2/3] git-am.txt: Use date instead of time or timestamp Stephen Boyd @ 2009-05-04 6:46 ` Stephen Boyd 2009-05-04 7:15 ` [PATCH 2/3] git-am.txt: Use date instead of time or timestamp Jeff King 1 sibling, 0 replies; 8+ messages in thread From: Stephen Boyd @ 2009-05-04 6:46 UTC (permalink / raw) To: git; +Cc: Junio C Hamano Signed-off-by: Stephen Boyd <bebarino@gmail.com> --- Documentation/git-am.txt | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index c141261..95e6089 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -121,10 +121,10 @@ the commit, after stripping common prefix "[PATCH <anything>]". The "Subject: " line is supposed to concisely describe what the commit is about in one line of text. -The body of the message (the rest of the message after the blank line -that terminates the RFC2822 headers) can begin with "Subject: " and -"From: " lines that are different from those of the mail header, -to override the values of these fields. +"From: " and "Subject: " lines starting the body (the rest of the +message after the blank line terminating the RFC2822 headers) +override the respective commit author name and title values taken +from the headers. The commit message is formed by the title taken from the "Subject: ", a blank line and the body of the message up to -- 1.6.2.3 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 2/3] git-am.txt: Use date instead of time or timestamp 2009-05-04 6:46 ` [PATCH 2/3] git-am.txt: Use date instead of time or timestamp Stephen Boyd 2009-05-04 6:46 ` [PATCH 3/3] git-am.txt: reword extra headers in message body Stephen Boyd @ 2009-05-04 7:15 ` Jeff King 2009-05-04 7:23 ` Junio C Hamano 1 sibling, 1 reply; 8+ messages in thread From: Jeff King @ 2009-05-04 7:15 UTC (permalink / raw) To: Stephen Boyd; +Cc: git, Junio C Hamano On Sun, May 03, 2009 at 11:46:57PM -0700, Stephen Boyd wrote: > diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt > index 715531b..c141261 100644 > --- a/Documentation/git-am.txt > +++ b/Documentation/git-am.txt > @@ -85,7 +85,7 @@ default. You can use `--no-utf8` to override this. > By default the command records the date from the e-mail > message as the commit author date, and uses the time of > commit creation as the committer date. This allows the > - user to lie about author timestamp by using the same > + user to lie about the author date by using the same > timestamp as the committer date. But you leave the "timestamp" in the next context line? The other two patches in the series look fine to me, though. -Peff ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/3] git-am.txt: Use date instead of time or timestamp 2009-05-04 7:15 ` [PATCH 2/3] git-am.txt: Use date instead of time or timestamp Jeff King @ 2009-05-04 7:23 ` Junio C Hamano 2009-05-04 7:25 ` Jeff King 0 siblings, 1 reply; 8+ messages in thread From: Junio C Hamano @ 2009-05-04 7:23 UTC (permalink / raw) To: Jeff King; +Cc: Stephen Boyd, git, Junio C Hamano Jeff King <peff@peff.net> writes: > On Sun, May 03, 2009 at 11:46:57PM -0700, Stephen Boyd wrote: > >> diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt >> index 715531b..c141261 100644 >> --- a/Documentation/git-am.txt >> +++ b/Documentation/git-am.txt >> @@ -85,7 +85,7 @@ default. You can use `--no-utf8` to override this. >> By default the command records the date from the e-mail >> message as the commit author date, and uses the time of >> commit creation as the committer date. This allows the >> - user to lie about author timestamp by using the same >> + user to lie about the author date by using the same >> timestamp as the committer date. > > But you leave the "timestamp" in the next context line? > > The other two patches in the series look fine to me, though. Likewise. Perhaps "using the same value as the committer date" sounds better? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/3] git-am.txt: Use date instead of time or timestamp 2009-05-04 7:23 ` Junio C Hamano @ 2009-05-04 7:25 ` Jeff King 0 siblings, 0 replies; 8+ messages in thread From: Jeff King @ 2009-05-04 7:25 UTC (permalink / raw) To: Junio C Hamano; +Cc: Stephen Boyd, git On Mon, May 04, 2009 at 12:23:52AM -0700, Junio C Hamano wrote: > >> commit creation as the committer date. This allows the > >> - user to lie about author timestamp by using the same > >> + user to lie about the author date by using the same > >> timestamp as the committer date. > > > > But you leave the "timestamp" in the next context line? > > > > The other two patches in the series look fine to me, though. > > Likewise. Perhaps "using the same value as the committer date" sounds > better? Much better IMHO. -Peff ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] git-am.txt: add an 'a', say what 'it' is, simplify a sentence 2009-05-04 6:46 ` [PATCH 1/3] git-am.txt: add an 'a', say what 'it' is, simplify a sentence Stephen Boyd 2009-05-04 6:46 ` [PATCH 2/3] git-am.txt: Use date instead of time or timestamp Stephen Boyd @ 2009-05-04 11:43 ` Michael J Gruber 1 sibling, 0 replies; 8+ messages in thread From: Michael J Gruber @ 2009-05-04 11:43 UTC (permalink / raw) To: Stephen Boyd; +Cc: git, Junio C Hamano Stephen Boyd venit, vidit, dixit 04.05.2009 08:46: > It's nice to know that 'it' is git-am or the subject line. Whitespace > implies characters so just remove characters. > > Signed-off-by: Stephen Boyd <bebarino@gmail.com> > --- > Documentation/git-am.txt | 12 ++++++------ > 1 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt > index 1e71dd5..715531b 100644 > --- a/Documentation/git-am.txt > +++ b/Documentation/git-am.txt > @@ -32,7 +32,7 @@ OPTIONS > > -s:: > --signoff:: > - Add `Signed-off-by:` line to the commit message, using > + Add a `Signed-off-by:` line to the commit message, using > the committer identity of yourself. > > -k:: > @@ -118,8 +118,8 @@ The commit author name is taken from the "From: " line of the > message, and commit author time is taken from the "Date: " line > of the message. The "Subject: " line is used as the title of > the commit, after stripping common prefix "[PATCH <anything>]". > -It is supposed to describe what the commit is about concisely as > -a one line text. > +The "Subject: " line is supposed to concisely describe what the > +commit is about in one line of text. > > The body of the message (the rest of the message after the blank line > that terminates the RFC2822 headers) can begin with "Subject: " and > @@ -128,8 +128,8 @@ to override the values of these fields. > > The commit message is formed by the title taken from the > "Subject: ", a blank line and the body of the message up to > -where the patch begins. Excess whitespace characters at the end of the > -lines are automatically stripped. > +where the patch begins. Excess whitespace at the end of each > +line is automatically stripped. > > The patch is expected to be inline, directly following the > message. Any line that is of the form: > @@ -141,7 +141,7 @@ message. Any line that is of the form: > is taken as the beginning of a patch, and the commit log message > is terminated before the first occurrence of such a line. > > -When initially invoking it, you give it the names of the mailboxes > +When initially invoking 'git-am', you give it the names of the mailboxes We try to spell git commands in the form 'git am' these days. Also, `git am` should be the quoting for commands, although we don't have a style guide and things are not consistent anyways. > to process. Upon seeing the first patch that does not apply, it > aborts in the middle. You can recover from this in one of two ways: > ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-05-04 11:43 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-05-04 6:46 [PATCH 0/3] git-am documentation Stephen Boyd 2009-05-04 6:46 ` [PATCH 1/3] git-am.txt: add an 'a', say what 'it' is, simplify a sentence Stephen Boyd 2009-05-04 6:46 ` [PATCH 2/3] git-am.txt: Use date instead of time or timestamp Stephen Boyd 2009-05-04 6:46 ` [PATCH 3/3] git-am.txt: reword extra headers in message body Stephen Boyd 2009-05-04 7:15 ` [PATCH 2/3] git-am.txt: Use date instead of time or timestamp Jeff King 2009-05-04 7:23 ` Junio C Hamano 2009-05-04 7:25 ` Jeff King 2009-05-04 11:43 ` [PATCH 1/3] git-am.txt: add an 'a', say what 'it' is, simplify a sentence Michael J Gruber
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).