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

[PATCH 0/3] Re: Author name and e-mail address in .stgitrc

From
Karl Hasselström <kha@treskal.com>
Date
Nov 11, 2006, 23:23 UTC
Message-ID
<20061111232322.17760.26214.stgit@localhost>
In-Reply-To
<b0943d9e0611111502q2f68be67l1a2441d84923a732@mail.gmail.com>
On 2006-11-11 23:02:04 +0000, Catalin Marinas wrote:
Show 14 quoted lines
> On 11/11/06, Karl Hasselström <kha@treskal.com> wrote:
>
> > Is there any particular reason to have the author and committer
> > names in ~/.stgitrc? Simply taking them from the same place git
> > does would probably be a usability enhancement (unless they're
> > specified on the command line, of course).
> 
> At the time I added these to .stgitrc, the only place git was taking
> them from was the environment variables and I wanted to put them in a
> single place. I also didn't like the idea of having the committer
> e-mail address be some username@local-machine as I don't think the
> name of the machine where I create patches is relevant. I also define
> the committer/author per repository in the .git/stgitrc file (i.e. I
> use @arm.com for Linux patches and @gmail.com for StGIT).

Well, this should all be sorted out now; git has both per-repository and per-user config files.

Show 5 quoted lines
> I use StGIT almost exclusively, even in "maintainer" mode and I
> would like not to spread the configuration options over many files.
> It is on my todo list to use the same configuration file as git
> (with a [stgit] section) since it has a format that should be
> understood by the Python config module.

The last patch in this series deprecates name and email config in stgitrc by not mentioning them in the example stgitrc, because teaching newbies to use yet another layer of identity configuration on top of what git already provides is madness. Old-timers may continue using stgitrc for that purpose for now (but as you say, integrating the configuration with git is on the TODO list).

-- 
Karl Hasselström, kha@treskal.com
Previous: Catalin MarinasNext: Karl Hasselström
Message 8 of 17 in “Double From:s in StGIT's patch email template”
  1. Karl HasselströmNov 11, 2006
  2. Author name and e-mail address in .stgitrcKarl Hasselström, Nov 11, 2006
  3. Robin RosenbergNov 11, 2006
  4. Karl HasselströmNov 11, 2006
  5. Robin RosenbergNov 11, 2006
  6. Karl HasselströmNov 11, 2006
  7. Catalin MarinasNov 11, 2006
  8. 0/3 Re: Author name and e-mail address in .stgitrcKarl Hasselström, Nov 11, 2006
  9. 1/3 Ask git for author and committer nameKarl Hasselström, Nov 11, 2006
  10. Karl HasselströmNov 11, 2006
  11. Catalin MarinasDec 4, 2006
  12. Karl HasselströmDec 5, 2006
  13. Catalin MarinasDec 5, 2006
  14. 2/3 Don't mention deprecated template variablesKarl Hasselström, Nov 11, 2006
  15. 3/3 Deprecate author and committer details in stgitrcKarl Hasselström, Nov 11, 2006
  16. Karl HasselströmNov 12, 2006
  17. Karl HasselströmNov 11, 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.