(stable) Use "git log ... --stdin" instead of "git log ... --not ..." to avoid…

Authored by epriestley on Oct 2 2019, 8:26 PM.


(stable) Use "git log ... --stdin" instead of "git log ... --not ..." to avoid oversized command lines

Depends on D20853. See PHI1474. If the list of "--not" refs is sufficiently long, we may exceed the maximum size of a command.

Use "--stdin" instead, and swap "--not" for the slightly less readable but functionally equivalent "^hash", which has the advantage of actually working with "--stdin".

Test Plan: Ran bin/repository refs ... with nothing to be done, and with something to be done.

Differential Revision: https://secure.phabricator.com/D20854