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
F15313279: D20854.diff
Thu, Mar 6, 3:51 PM
Unknown Object (File)
Fri, Feb 21, 7:51 AM
Unknown Object (File)
Fri, Feb 21, 12:18 AM
Unknown Object (File)
Thu, Feb 13, 6:03 PM
Unknown Object (File)
Thu, Feb 13, 6:42 AM
Unknown Object (File)
Mon, Feb 10, 8:12 AM
Unknown Object (File)
Sun, Feb 9, 8:16 AM
Unknown Object (File)
Sun, Feb 9, 8:16 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