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
F22714400: D20854.id49713.diff
Sat, Oct 3, 4:24 PM
Unknown Object (File)
Aug 19 2026, 9:28 AM
Unknown Object (File)
Aug 18 2026, 9:57 PM
Unknown Object (File)
Jul 6 2026, 2:44 PM
Unknown Object (File)
Jun 30 2026, 3:57 PM
Unknown Object (File)
May 28 2026, 8:36 PM
Unknown Object (File)
Jan 19 2026, 9:15 AM
Unknown Object (File)
Jan 8 2026, 2:22 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