git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC] E-mail aliases

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Dec 12, 2006, 22:36 UTC
Message-ID
<b0943d9e0612121436u6cf7c200i92ba056103a80b13@mail.gmail.com>
In-Reply-To
<7vvekhufib.fsf@assigned-by-dhcp.cox.net>
On 12/12/06, Junio C Hamano <junkio@cox.net> wrote:
Show 12 quoted lines
> "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.

Previous: Junio C HamanoNext: Eric Wong
Message 3 of 4 in “[RFC] E-mail aliases”
  1. Catalin MarinasDec 12, 2006
  2. Junio C HamanoDec 12, 2006
  3. Catalin MarinasDec 12, 2006
  4. Eric WongDec 12, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.