Page MenuHomePhabricator

Fix a bug with DiffusionMergedCommitsQueryConduitAPIMethod
ClosedPublic

Authored by epriestley on May 5 2015, 10:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 12:50 PM
Unknown Object (File)
Sat, Nov 23, 1:31 AM
Unknown Object (File)
Nov 19 2024, 1:51 PM
Unknown Object (File)
Nov 14 2024, 10:04 PM
Unknown Object (File)
Nov 11 2024, 3:33 PM
Unknown Object (File)
Nov 7 2024, 2:04 AM
Unknown Object (File)
Oct 15 2024, 2:57 AM
Unknown Object (File)
Oct 14 2024, 9:57 AM
Subscribers

Details

Summary

We were adding "+1" to PHP_INT_MAX, which could cause us to wrap and run git log -n -9223372036854775808 .... Git, unable to give us negative nine trillion zillion results, would then exit without producing results.

Test Plan

Got results out of this method.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix a bug with DiffusionMergedCommitsQueryConduitAPIMethod.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
src/applications/diffusion/conduit/DiffusionMergedCommitsQueryConduitAPIMethod.php
55

Specifically, this is where we'd run into a problem.

btrahan edited edge metadata.
This revision is now accepted and ready to land.May 5 2015, 10:43 PM
This revision was automatically updated to reflect the committed changes.