Re: [PATCH v2] completion: Handle '!f() { ... }; f' aliases

2014-06-12 Thread Steffen Prohaska
On Jun 10, 2014, at 7:27 AM, Junio C Hamano wrote: > Steffen Prohaska writes: > > I tend to prefer writing it like so instead: > >sh -c '...' - > > so that I won't clobber "f" (or any other name). I wonder if you > can help users of this other pattern as well. I'll send an updated patc

Re: [PATCH v2] completion: Handle '!f() { ... }; f' aliases

2014-06-09 Thread Junio C Hamano
Steffen Prohaska writes: > '!f() { ... }; f' is a recommended pattern to declare more complex > aliases (see git wiki [1]). This commit teaches the completion to > handle them. Hmm, I've never endorsed nor recommended such a notation myself ;-) I tend to prefer writing it like so instead: