Homec4science

Recover from `null` authors in commit parsing

Authored by epriestley <git@epriestley.com> on Jun 23 2014, 16:23.

Description

Recover from null authors in commit parsing

Summary:
Fixes T5445. Some import tools and other unusual situations can leave repositories with commits that don't have authors. This fails on insert.

Instead, explicitly cast the value to a string.

Test Plan: I didn't build a local repro, but see task/GitHub.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5445

Differential Revision: https://secure.phabricator.com/D9684

Details

Committed
epriestley <git@epriestley.com>Jun 23 2014, 16:23
Pushed
aubortJan 31 2017, 17:16
Parents
rPH19ff097d783c: Fix project archive dialog text
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH40fa4799a32d: Recover from `null` authors in commit parsing (authored by epriestley <git@epriestley.com>).Jun 23 2014, 16:23