# Re: \[PATCH\] new test from the submodule chapter of the user manual

- From: Joel Becker \<hidden\>
- Date: 2016-06-15 22:43:36 
- List: git
- Page: https://ratatoskr.run/git/2016/06/7315867
- Thread: https://ratatoskr.run/git/2016/06/7315803/t.md

```text
On Thu, Sep 20, 2007 at 07:47:32PM +0100, Johannes Schindelin wrote:
> > 	Silly question: why use the '&&' when you can 'set -e'?  As it
> > currently stands, a failure will still go back around the loop...
> 
> A "set -e" will make the script exit AFAIR.  That's not what we want.  A 
> simple "|| break" after the "cd .." will work, though.

	Oh, drat.  It's run in eval, not a subshell.

Joel

-- 

Life's Little Instruction Book #94

	"Make it a habit to do nice things for people who 
	 will never find out."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
```
