* [RFC] E-mail aliases
@ 2006-12-12 12:49 Catalin Marinas
2006-12-12 18:37 ` Junio C Hamano
2006-12-12 19:35 ` Eric Wong
0 siblings, 2 replies; 4+ messages in thread
From: Catalin Marinas @ 2006-12-12 12:49 UTC (permalink / raw)
To: GIT list
Hi,
I added a feature to StGIT (not released yet) so that one can specify
an alias instead of a complete e-mail address on the command line (or
in the template file), i.e.:
stg mail --to=lkml
sets the "To:" header to "linux-kernel@vger.kernel.org".
The aliases are read from the [aliases] section in the gitconfig files
("git repo-config aliases.lkml" in this case). I just want to make
sure than there isn't any other intended use for the [aliases] section
in the config files.
Thanks.
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC] E-mail aliases
2006-12-12 12:49 [RFC] E-mail aliases Catalin Marinas
@ 2006-12-12 18:37 ` Junio C Hamano
2006-12-12 22:36 ` Catalin Marinas
2006-12-12 19:35 ` Eric Wong
1 sibling, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2006-12-12 18:37 UTC (permalink / raw)
To: Catalin Marinas; +Cc: git
"Catalin Marinas" <catalin.marinas@gmail.com> writes:
> sets the "To:" header to "linux-kernel@vger.kernel.org".
>
> The aliases are read from the [aliases] section in the gitconfig files
> ("git repo-config aliases.lkml" in this case). I just want to make
> sure than there isn't any other intended use for the [aliases] section
> in the config files.
[alias] is used to hold command-line alias, and it seems
slightly confusing to have two sections that mean something
quite different.
Perhaps
[mail "alias"]
lkml = linux-kernel@vger.kernel.org
if we are going to have other mail-related configurations that
might turn out be handy. send-email would want smtp-server in
there, for example.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC] E-mail aliases
2006-12-12 12:49 [RFC] E-mail aliases Catalin Marinas
2006-12-12 18:37 ` Junio C Hamano
@ 2006-12-12 19:35 ` Eric Wong
1 sibling, 0 replies; 4+ messages in thread
From: Eric Wong @ 2006-12-12 19:35 UTC (permalink / raw)
To: Catalin Marinas; +Cc: GIT list
Catalin Marinas <catalin.marinas@gmail.com> wrote:
> Hi,
>
> I added a feature to StGIT (not released yet) so that one can specify
> an alias instead of a complete e-mail address on the command line (or
> in the template file), i.e.:
>
> stg mail --to=lkml
git-send-email can be configured to parse mutt, mailrc, pine and gnu
alias files. I use the mutt one extensively myself and find it very
useful.
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC] E-mail aliases
2006-12-12 18:37 ` Junio C Hamano
@ 2006-12-12 22:36 ` Catalin Marinas
0 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2006-12-12 22:36 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
On 12/12/06, Junio C Hamano <junkio@cox.net> wrote:
> "Catalin Marinas" <catalin.marinas@gmail.com> writes:
>
> > sets the "To:" header to "linux-kernel@vger.kernel.org".
> >
> > The aliases are read from the [aliases] section in the gitconfig files
> > ("git repo-config aliases.lkml" in this case). I just want to make
> > sure than there isn't any other intended use for the [aliases] section
> > in the config files.
>
> [alias] is used to hold command-line alias, and it seems
> slightly confusing to have two sections that mean something
> quite different.
Didn't know about [alias]. It is indeed confusing to have [aliases] as well.
> Perhaps
>
> [mail "alias"]
> lkml = linux-kernel@vger.kernel.org
The other option would be to teach stgit to parse alias files used by
mutt etc. as Eric mentioned in the other e-mail (and it doesn't look
difficult). The problem is that you would need to know how to generate
them manually if you use other e-mail clients or web-based services.
> if we are going to have other mail-related configurations that
> might turn out be handy. send-email would want smtp-server in
> there, for example.
At a quick look, it seems that git-send-email already uses a
[sendemail] section. StGIT currently reads the smtpserver and
authentication information from the [stgit] section.
--
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-12-12 22:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-12 12:49 [RFC] E-mail aliases Catalin Marinas
2006-12-12 18:37 ` Junio C Hamano
2006-12-12 22:36 ` Catalin Marinas
2006-12-12 19:35 ` Eric Wong
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).