Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: git-send-email and aliases

From: Francis Moreau <hidden>
Date: 2016-06-15 22:43:01

On 3/26/07, Junio C Hamano [off-list ref] wrote:
quoted
[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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help