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, May 28, 8:36 PM
Unknown Object (File)
Jan 19 2026, 9:15 AM
Unknown Object (File)
Jan 8 2026, 2:22 PM
Unknown Object (File)
Jan 8 2026, 1:04 AM
Unknown Object (File)
Jan 6 2026, 10:55 PM
Unknown Object (File)
Dec 22 2025, 5:09 PM
Unknown Object (File)
Dec 2 2025, 12:30 PM
Unknown Object (File)
Nov 28 2025, 7:50 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