HomePhabricator

subrepo: handle unexpected file types from git gracefully

Authored by mharbison72.

Description

subrepo: handle unexpected file types from git gracefully

This was flagged by pytype because tar.extractfile(...) can return None if the
entry is not a file or symlink. I don't think that git supports other types,
but better safe than sorry.

Differential Revision: https://phab.mercurial-scm.org/D10179

Details