You need to sign in or sign up before continuing.
Use empty tree if initial commit
There's a bug where if the first commit id is called in commit stats, an error is returned because first commit^
doesn't exist.
This MR detects that case, and uses the empty tree sha to get the diff