From: Jeff King Date: Fri, 07 Oct 2016 17:50:52 GMT Subject: Re: [PATCH/RFC] git.c: support "!!" aliases that do not move cwd Message-ID: <20161007175052.sxyk7y2ytjh36phr@sigill.intra.peff.net> In-Reply-To: <0347de20-72a7-b384-389f-4b2ad5789973@kdbg.org> On Fri, Oct 07, 2016 at 07:42:35PM +0200, Johannes Sixt wrote: > Maybe it's time to aim for > > git config alias.d2u.shell \ > 'f() { git ls-files "$@" | xargs dos2unix; }; f' > git config alias.d2u.cdup false > git d2u *.c # yada! That would be nice. It would also allow "alias.foo_bar.shell"; right now "alias.foo_bar" is forbidden because of the config syntax, which does not allow underscores outside of the "subsection" name. -Peff