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

Re: General support for ! in git-config values

From
Ddemerphq <demerphq@gmail.com>
Date
Feb 2, 2012, 01:57 UTC
Message-ID
<CANgJU+WCdsF+igCWoueYcChYBvNyj5je_kvWorCBOgh5D7Bb9g@mail.gmail.com>
In-Reply-To
<7v7h06109t.fsf@alter.siamese.dyndns.org>
On 2 February 2012 02:39, Junio C Hamano <gitster@pobox.com> wrote:
Show 19 quoted lines
> demerphq <demerphq@gmail.com> writes:
>
>> On 2 February 2012 01:27, Junio C Hamano <gitster@pobox.com> wrote:
>>> demerphq <demerphq@gmail.com> writes:
>>>
>>>> user.name=!ldap_full_name
>>>> user.email=!ldap_email
>>>
>>> I didn't get the impression that that was what he was proposing, but
>>> regardless of who's suggesting it, the above does not make any sense,
>>> from the syntax point of view.
>>
>> Does that mean that from a utility point of view it does?
>
> Not really.
>
> I do not think whatever "utility" value outweighs the hassle of having to
> think through the ramifications (including but not limited to security) of
> running arbitrary user command every time a value is looked up.
Why is that your problem? If I have to enable it then isn't that my choice?
-- 
perl -Mre=debug -e "/just|another|perl|hacker/"
Previous: Junio C HamanoNext: Jeff King
Message 9 of 20 in “General support for ! in git-config values”
  1. Ævar Arnfjörð BjarmasonFeb 1, 2012
  2. Jeff KingFeb 1, 2012
  3. Ævar Arnfjörð BjarmasonFeb 1, 2012
  4. Junio C HamanoFeb 1, 2012
  5. demerphqFeb 2, 2012
  6. Junio C HamanoFeb 2, 2012
  7. demerphqFeb 2, 2012
  8. Junio C HamanoFeb 2, 2012
  9. demerphqFeb 2, 2012
  10. Jeff KingFeb 2, 2012
  11. demerphqFeb 2, 2012
  12. Jeff KingFeb 2, 2012
  13. demerphqFeb 2, 2012
  14. Kyle MoffettFeb 3, 2012
  15. Junio C HamanoFeb 3, 2012
  16. Kyle MoffettFeb 3, 2012
  17. Jeff KingFeb 3, 2012
  18. Jeff KingFeb 3, 2012
  19. Junio C HamanoFeb 2, 2012
  20. demerphqFeb 2, 2012

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.