Andreas Gruenbacher <agruenba@xxxxxxxxxx> writes: >> > # is --stdin a selector, too? >> > branches | git log --stdin --not origin/master > > Yes, it's a positive selector (since --not doesn't apply to --stdin). But you should be able to do printf "%s\n" ^maint master | git rev-list --stdin Replace the second one with ^master and now you have nothing but negative. So, no, the line is much blurrier than you would think.