Hi, On Mon, 25 Feb 2008, Caio Marcelo de Oliveira Filho wrote: > Since commit 8c1ce0f46b85d40f215084eed7313896300082df filter-branch > fails when a <command> has a non-zero exit status. This commit makes it > clear in the documentation and also fixes the parent-filter example, > that was incorrectly returning non-zero when the commit being tested > wasn't the one to be rewritten. I thought that we had that already in the man page, but you're right: we did not. > --------------------------------------------------------------------------- > +---------------------------------------------------------------------------- > git filter-branch --parent-filter \ > - 'cat; test $GIT_COMMIT = <commit-id> && echo "-p <graft-id>"' HEAD > --------------------------------------------------------------------------- > + 'test $GIT_COMMIT = <commit-id> && echo "-p <graft-id>" || cat' HEAD > +---------------------------------------------------------------------------- Yes, makes sense. Ciao, Dscho - 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