I'm using GitPython for working with a git repository. To list the files added/deleted/changed I use the following code: ``` diff_files = [] for parent in commit.parents: diff_files += [x.b_path for x in commit.diff(parent)] ``` However, the first commit doesn't have any parents, so this approach fails. Any ideas how might I do it in a different way?