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)
Thu, Mar 21, 3:40 AM
Unknown Object (File)
Feb 21 2024, 8:58 AM
Unknown Object (File)
Feb 20 2024, 12:36 AM
Unknown Object (File)
Jan 20 2024, 5:31 PM
Unknown Object (File)
Jan 16 2024, 5:13 PM
Unknown Object (File)
Jan 12 2024, 4:48 PM
Unknown Object (File)
Jan 9 2024, 9:57 AM
Unknown Object (File)
Jan 5 2024, 1:28 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