On Tue, Aug 10, 2010 at 14:12, Johannes Sixt <j.sixt@xxxxxxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html