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
F19528462: D20854.diff
Jan 19 2026, 9:15 AM
F19500368: D20854.diff
Jan 8 2026, 2:22 PM
F19483264: D20854.diff
Jan 8 2026, 1:04 AM
F19472074: D20854.diff
Jan 6 2026, 10:55 PM
F19261112: D20854.diff
Dec 22 2025, 5:09 PM
F19083098: D20854.id49715.diff
Dec 2 2025, 12:30 PM
F19056484: D20854.id49713.diff
Nov 28 2025, 7:50 PM
F19043398: D20854.id.diff
Nov 26 2025, 9:55 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