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.
Details
Details
- Reviewers
btrahan - Commits
- Restricted Diffusion Commit
rP7f8ee4e32966: Fix a bug with DiffusionMergedCommitsQueryConduitAPIMethod
Got results out of this method.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- mergecommits
- Lint
Lint Passed Severity Location Code Message Advice src/applications/diffusion/conduit/DiffusionMergedCommitsQueryConduitAPIMethod.php:27 XHP16 TODO Comment - Unit
No Test Coverage - Build Status
Buildable 5783 Build 5802: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
src/applications/diffusion/conduit/DiffusionMergedCommitsQueryConduitAPIMethod.php | ||
---|---|---|
55 | Specifically, this is where we'd run into a problem. |