git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Junio C Hamano <junkio@cox.net>
Cc: Francis Moreau <francis.moro@gmail.com>, git@vger.kernel.org
Subject: Re: git-send-email and aliases
Date: Tue, 27 Mar 2007 06:46:23 -0400	[thread overview]
Message-ID: <20070327104623.GA26796@sigill.intra.peff.net> (raw)
In-Reply-To: <7vircnou7i.fsf@assigned-by-dhcp.cox.net>

On Tue, Mar 27, 2007 at 03:29:37AM -0700, Junio C Hamano wrote:

> > Isn't possible to mimic bash alias handling:. From man: "Aliases are
> > not expanded when the shell is not interactive,... "
> 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.

Might it not be easier to simply add a GIT_NOALIAS variable, and set it
at the top of all git programs?

-Peff

  reply	other threads:[~2007-03-27 10:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-26  9:39 git-send-email and aliases Francis Moreau
2007-03-26  9:47 ` Junio C Hamano
2007-03-26  9:57   ` Francis Moreau
2007-03-27  9:38   ` Francis Moreau
2007-03-27 10:29     ` Junio C Hamano
2007-03-27 10:46       ` Jeff King [this message]
2007-03-27 10:59         ` Junio C Hamano
2007-03-27 11:02           ` Jeff King
2007-03-28  1:52             ` Junio C Hamano
2007-03-27 16:08       ` Francis Moreau
2007-03-26 10:08 ` Nicolas Vilz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070327104623.GA26796@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=francis.moro@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).