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

Re: [PATCH 1/2] Avoid using the git wrapper in git-rebase.sh.

From
Shawn Pearce <spearce@spearce.org>
Date
Jul 14, 2006, 23:28 UTC
Message-ID
<20060714232841.GA30169@spearce.org>
In-Reply-To
<7vpsg8qhj9.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 9 quoted lines
> Shawn Pearce <spearce@spearce.org> writes:
> 
> > Ideally 'shipped' commands (e.g. git-rebase) should avoid calling
> > the git wrapper when executing other commands to prevent the user
> > from shadowing those commands with aliases and causing the shipped
> > command behavior to differ unexpectedly.
> 
> In order to avoid confusion, we made aliases not to shadow real
> commands, so this is not an argument to support this patch.

Doh. I must have missed the emails which decided that... For some reason I remember only the emails discussing shadowing happening but that internal stuff should use 'git-am' to prevent the shadowing from occuring. Thanks for the correction.

-- 
Shawn.
Previous: Junio C Hamano
Message 4 of 4 in “Avoid using the git wrapper in git-rebase.sh.”
  1. 1/2 Avoid using the git wrapper in git-rebase.sh.Shawn Pearce, Jul 14, 2006
  2. Matthias LederhoferJul 14, 2006
  3. Junio C HamanoJul 14, 2006
  4. Shawn PearceJul 14, 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.