git-sequencer.sh: --caller portability fixseq-proto-dev3-dead
commitd131a71f3bce54c111b1e43bbfc6c9b9a6bf7e94
authorJonathan Nieder <jrnieder@uchicago.edu>
Sun, 10 Aug 2008 09:20:29 +0000 (10 04:20 -0500)
committerStephan Beyer <s-beyer@gmx.net>
Sun, 10 Aug 2008 12:31:00 +0000 (10 14:31 +0200)
tree5b7a8935005abea82d6ade1e53e4ee3ed67c7aaa
parent847737d6538618c94c4d76ee8c26e44e7ae0dc56
git-sequencer.sh: --caller portability fix

With BSD sed, & recalls the whole string matched by a regular
expression, whereas \0 just gives a literal 0.  At least, that's
how it behaves on Mac OS X 10.3.  So use & instead of \0 when
implementing --caller support.

Without this patch and with git am wired to use git-sequencer,
git am --resolved, git am --skip, etc fail because
git-am|--abort|--resolved|--skip and 0 are not equal.

Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
git-sequencer.sh