From: Francis Moreau Date: Tue, 27 Mar 2007 09:38:51 GMT Subject: Re: git-send-email and aliases Message-ID: <38b2ab8a0703270238n655bdee1kac227a6675261210@mail.gmail.com> In-Reply-To: <7vwt14wd38.fsf@assigned-by-dhcp.cox.net> On 3/26/07, Junio C Hamano wrote: > > [alias] > > send-email = send-email --no-signed-off-cc --suppress-from > > > > Is it failing because git-send-email is an external command ? > > $ sed -ne '/^alias\.\*/,/^$/p' Documentation/config.txt > That said I think it's not really convenient. I'll end up doing: [aliases] my-send-email = send-email --no-signed-off-cc --suppress-from my-am = am -3 -s etc... Isn't possible to mimic bash alias handling:. From man: "Aliases are not expanded when the shell is not interactive,... " IOW is it possible for git to know if it has been invoked interactively ? thanks -- Francis