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
F13169930: D19500.diff
Tue, May 7, 8:41 AM
F13168890: D19500.diff
Tue, May 7, 8:01 AM
Unknown Object (File)
Fri, May 3, 8:46 AM
Unknown Object (File)
Fri, Apr 26, 10:43 PM
Unknown Object (File)
Thu, Apr 25, 2:36 AM
Unknown Object (File)
Fri, Apr 19, 7:48 PM
Unknown Object (File)
Apr 1 2024, 3:08 PM
Unknown Object (File)
Mar 28 2024, 8:25 PM
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