Page MenuHomePhabricator

Fix changeset construction special case for empty commits in pre-commit hooks
ClosedPublic

Authored by epriestley on Jun 21 2018, 10:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 2:36 AM
Unknown Object (File)
Fri, Apr 19, 7:48 PM
Unknown Object (File)
Mon, Apr 1, 3:08 PM
Unknown Object (File)
Thu, Mar 28, 8:25 PM
Unknown Object (File)
Mar 17 2024, 5:09 PM
Unknown Object (File)
Mar 16 2024, 10:27 AM
Unknown Object (File)
Mar 1 2024, 4:00 AM
Unknown Object (File)
Feb 21 2024, 11:53 AM
Subscribers
None

Details

Summary

Fixes T13155. Ref T13151. A recent change (D19455) changed the return format here, but I missed this special case for empty commits.

Test Plan
  • T13155 has a good set of reproduction instructions.
  • Pushed an empty commit.
    • Before: bunch of warning log spew.
    • After: clean logs.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable