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
F15527045: D20854.id49715.diff
Tue, Apr 22, 12:17 AM
F15485239: D20854.id49713.diff
Wed, Apr 9, 10:47 PM
F15482777: D20854.id49715.diff
Wed, Apr 9, 8:00 AM
F15475061: D20854.id49715.diff
Sun, Apr 6, 3:09 PM
F15475060: D20854.id49713.diff
Sun, Apr 6, 3:09 PM
F15475059: D20854.id.diff
Sun, Apr 6, 3:09 PM
F15473145: D20854.diff
Sat, Apr 5, 7:47 PM
F15464249: D20854.id.diff
Wed, Apr 2, 7:46 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