Re: Black smoke from git rebase -i exec
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Aug 10, 2010, 14:16 UTC
- Message-ID
- <AANLkTikVB6VoSy3=XVHqGsA7xH39MgDwh2hDnX89enfM@mail.gmail.com>
- In-Reply-To
- <4C615E5E.3090301@viscovery.net>
On Tue, Aug 10, 2010 at 14:12, Johannes Sixt <j.sixt@viscovery.net> wrote:
Show 7 quoted lines
> 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