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)
Fri, Jun 20, 2:37 PM
Unknown Object (File)
Mon, Jun 16, 9:24 PM
Unknown Object (File)
May 9 2025, 8:13 AM
Unknown Object (File)
May 8 2025, 9:08 PM
Unknown Object (File)
May 5 2025, 6:12 PM
Unknown Object (File)
May 3 2025, 10:37 PM
Unknown Object (File)
May 1 2025, 9:22 PM
Unknown Object (File)
Apr 22 2025, 12:17 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