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
Unknown Object (File)
Sat, Jan 25, 5:56 AM
Unknown Object (File)
Sat, Jan 25, 5:56 AM
Unknown Object (File)
Sat, Jan 25, 5:56 AM
Unknown Object (File)
Sat, Jan 25, 5:56 AM
Unknown Object (File)
Thu, Jan 23, 2:07 AM
Unknown Object (File)
Wed, Jan 22, 6:32 AM
Unknown Object (File)
Tue, Jan 21, 3:37 PM
Unknown Object (File)
Tue, Jan 21, 12:43 PM
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