Page MenuHomePhabricator

Use "git log ... --stdin" instead of "git log ... --not ..." to avoid oversized command lines
ClosedPublic

Authored by epriestley on Oct 2 2019, 8:28 PM.
Tags
None
Referenced Files
F18759024: D20854.id49715.diff
Mon, Oct 6, 1:14 AM
F18743289: D20854.id49713.diff
Thu, Oct 2, 11:05 PM
F18734077: D20854.id.diff
Tue, Sep 30, 10:47 PM
F18673492: D20854.id49713.diff
Thu, Sep 25, 10:50 AM
F18629094: D20854.id.diff
Tue, Sep 16, 7:59 AM
F18626060: D20854.diff
Tue, Sep 16, 12:15 AM
F18570882: D20854.id49715.diff
Wed, Sep 10, 4:11 AM
F18570880: D20854.id49713.diff
Wed, Sep 10, 4:11 AM
Subscribers
None

Details

Summary

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable