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)
Tue, Jun 17, 10:42 AM
Unknown Object (File)
Jun 5 2025, 5:53 PM
Unknown Object (File)
Jun 1 2025, 9:45 AM
Unknown Object (File)
May 30 2025, 5:23 AM
Unknown Object (File)
May 28 2025, 4:39 PM
Unknown Object (File)
May 27 2025, 2:19 AM
Unknown Object (File)
May 8 2025, 10:14 PM
Unknown Object (File)
May 8 2025, 3:34 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