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

Fwd: Re: feature request: user email config per domain

From
IDIgor Djordjevic <igor.d.djordjevic@gmail.com>
Date
Feb 23, 2017, 19:29 UTC
Message-ID
<00803225-db9e-9ba0-fe37-8977ec611d61@gmail.com>
In-Reply-To
<5e25e9d5-ca52-2b32-3701-4826599774ef@gmail.com>
Forwarding a message that ended on my end only, probably by accident.
-------- Forwarded Message --------
Subject: Re: feature request: user email config per domain
Date: Thu, 23 Feb 2017 13:32:56 +0530
From: Tushar Kapila <tgkprog@gmail.com>
To: Igor Djordjevic BugA <igor.d.djordjevic@gmail.com>
Hello All,
> I'd much rather see something based on the working tree path, like

Duy's conditional config includes. Then you write something in your ~/.gitconfig

> This would allow you to have two root directories, one for your work
projects and one for open source projects (for example).

I guess this can be extended for any number of root directories. Like, when a consultant has multiple employer email ids.

This sounds great and it would enforce at commit time, which as pointed out, is the correct time to do it. If for some reason it is not adopted I at least hope that we have a simple global config which specifies that user must set email for each repo and to ignore any global config.

Am sure this can be done via hooks, but I would like something that is really simple for newbies and companies to enforce with minimal instruction.

* Will try what Igor and Grant Humphries suggests.
* Thank you all for your replies, and a big thank you for git - its a
great tool. I used to dream of something like it when I was stuck with
svn (pre 2010 I was introduced to git late.)

[1] http://stackoverflow.com/a/42354282 [2] http://stackoverflow.com/users/2167004

Previous: Igor Djordjevic BugA
Message 6 of 6 in “feature request: user email config per domain”
  1. Tushar KapilaFeb 22, 2017
  2. Pranit BauvaFeb 22, 2017
  3. Andrew ArdillFeb 22, 2017
  4. Jeff KingFeb 23, 2017
  5. Igor Djordjevic BugAFeb 23, 2017
  6. Fwd: Re: feature request: user email config per domainIgor Djordjevic, Feb 23, 2017

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.