From: Ævar Arnfjörð Bjarmason Date: Tue, 10 Aug 2010 14:16:38 GMT Subject: Re: Black smoke from git rebase -i exec Message-ID: In-Reply-To: <4C615E5E.3090301@viscovery.net> On Tue, Aug 10, 2010 at 14:12, Johannes Sixt wrote: > You cannot apply single-command-export if the command is a shell function. > You must rewrite this as: > >        ( >                export FAKE_LINES="..." && >                test_must_fail git rebase .... >        ) && Except that's not portable either, it should be: FAKE_LINES="..." && export FAKE_LINES && test_must_fail git rebase ... See the other examples in t3404-rebase-interactive.sh