I used git 2.9.2 on FreeBSD 11, and I want to search the log for two authors, the command is like
I also run this command on Ubuntu, it works. So, it looks like the regex used by git for FreeBSD is different from the one used on Linux. How can I make it work?
git log --author="Andrew\|Stephen"
. But it does not give any output. If I use two commands to search Andrew and Stephen, both of them work fine.I also run this command on Ubuntu, it works. So, it looks like the regex used by git for FreeBSD is different from the one used on Linux. How can I make it work?