From: "Shawn O. Pearce" <spearce@spearce.org>
To: Ted Pavlic <ted@tedpavlic.com>
Cc: git <git@vger.kernel.org>, Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH 3/3] Adds a #!bash to the top of bash completions so that editors can recognize, it as a bash script. Also adds a few simple comments above commands that, take arguments. The comments are meant to remind editors of potential, problems that can occur when the script is sourced on systems with "set, -u."
Date: Tue, 13 Jan 2009 08:45:18 -0800 [thread overview]
Message-ID: <20090113164518.GS10179@spearce.org> (raw)
In-Reply-To: <496CBD17.3000207@tedpavlic.com>
Ted Pavlic <ted@tedpavlic.com> wrote:
>
> Third in a series of patches that make bash completions more robust to
> different interactive shell configurations and editors.
>
> [PATCH 3/3] Adds a #!bash to the top of bash completions so that editors
> can recognize
> it as a bash script. Also adds a few simple comments above commands that
> take arguments. The comments are meant to remind editors of potential
> problems that can occur when the script is sourced on systems with "set
> -u."
Aside from the message format... OK. The message really should
have looked like this from an mbox point of view:
From: Ted Pavlic <ted@tedpavlic.com>
To: git <git@vger.kernel.org>, Junio C Hamano <gitster@pobox.com>
Cc: "Shawn O. Pearce" <spearce@spearce.org>
Bcc:
Subject: [PATCH 3/3] bash-completion: Add internal function documentation
Slightly document the internal functions of the bash
completion package, so callers are more easily able to
determine the expected arguments.
Signed-off-by: Ted Pavlic <ted@tedpavlic.com>
---
Third in a series to improve the bash completion package,
so it sucks less.
contrib/completion/git-completion.bash | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/contrib/completion/git-completion.bash
See how the stuff that doesn't matter to the commit message itself
goes after the "---" line? And how the subject is a niceshort, one
line summary of the module impacted and the change? These show up in
gitk and git shortlog, and thus in the "What's changed in git.git"
newsletters Junio publishes. Its important that the subject be
really short and sweet. You can put more detail above the "---"
line, and it will be included in the commit when Junio applies it.
This is all based on the formatting at the time of commit.
Anything up to the first "\n\n" in a commit message goes into the
email subject line. The rest goes into the email body, but above the
"---" line. You can then edit the buffer before sending to insert
non-commit message text after the "---" and before the diff stat.
You can include my Ack'd by line below your Signed-off-by when you
resend it.
Acked-by: Shawn O. Pearce <spearce@spearce.org>
> ---
> contrib/completion/git-completion.bash | 15 +++++++++++++++
> 1 files changed, 15 insertions(+), 0 deletions(-)
--
Shawn.
next prev parent reply other threads:[~2009-01-13 16:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-13 16:11 [PATCH 3/3] Adds a #!bash to the top of bash completions so that editors can recognize, it as a bash script. Also adds a few simple comments above commands that, take arguments. The comments are meant to remind editors of potential, problems that can occur when the script is sourced on systems with "set, -u." Ted Pavlic
2009-01-13 16:45 ` Shawn O. Pearce [this message]
2009-01-13 20:03 ` Boyd Stephen Smith Jr.
2009-01-13 20:10 ` Adeodato Simó
2009-01-13 20:24 ` Commit messages Teemu Likonen
2009-01-14 16:55 ` Ted Pavlic
2009-01-15 22:56 ` [PATCH 3/3] Adds a #!bash to the top of bash completions so that editors can recognize, it as a bash script. Also adds a few simple comments above commands that, take arguments. The comments are meant to remind editors of potential, problems that can occur when the script is sourced on systems with "set, -u." Markus Heidelberg
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=20090113164518.GS10179@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=ted@tedpavlic.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;
as well as URLs for NNTP newsgroup(s).