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

Re: git-send-email and aliases

From
FMFrancis Moreau <francis.moro@gmail.com>
Date
Mar 27, 2007, 16:08 UTC
Message-ID
<38b2ab8a0703270908y331a372du7cd340f1d884456d@mail.gmail.com>
In-Reply-To
<7vircnou7i.fsf@assigned-by-dhcp.cox.net>
On 3/27/07, Junio C Hamano <junkio@cox.net> wrote:
Show 7 quoted lines
> "Francis Moreau" <francis.moro@gmail.com> writes:
> > IOW is it possible for git to know if it has been invoked interactively ?
>
> I do not think so, but I think alias expanding "git foo" while
> not expanding "git-foo" should not be too hard.  You need two
> extra preparation steps for such a change to be useful, though.
>

Isn't that too dangerous to rely on the fact that scripts will always use "git-foo" syntax ?

-- 
Francis
Previous: Junio C HamanoNext: Nicolas Vilz
Message 10 of 11 in “git-send-email and aliases”
  1. Francis MoreauMar 26, 2007
  2. Junio C HamanoMar 26, 2007
  3. Francis MoreauMar 26, 2007
  4. Francis MoreauMar 27, 2007
  5. Junio C HamanoMar 27, 2007
  6. Jeff KingMar 27, 2007
  7. Junio C HamanoMar 27, 2007
  8. Jeff KingMar 27, 2007
  9. Junio C HamanoMar 28, 2007
  10. Francis MoreauMar 27, 2007
  11. Nicolas VilzMar 26, 2007

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.