Re: [PATCH 2/3] contrib/subtree: remove use of -a/-o in [ commands

2013-03-24 Thread Simon Ruderich
From: Paul Campbell Use of -a and -o in the [ command can have confusing semantics. Use a separate test invocation for each single test, combining them with && and ||. Signed-off-by: Paul Campbell Signed-off-by: Simon Ruderich --- On Sun, Mar 24, 2013 at 07:37:42PM +, Paul Campbell wrote

[PATCH 2/3] contrib/subtree: remove use of -a/-o in [ commands

2013-03-24 Thread Paul Campbell
Use of -a and -o in the [ command can have confusing semantics. Use a separate test invocation for each single test, combining them with && and ||, and use ordinary parentheses for grouping. Signed-off-by: Paul Campbell --- contrib/subtree/git-subtree.sh | 14 +++--- 1 file changed, 7 i