Initial commit is handled in a different way when trying to get the diff, however to identify an initial commit a new attribute is added to it. This is only done when we have a scroll, so the fix adds this identification also when it is rendered for the first time
Basically this fixes an error being displayed when you click on the initial commit to see details. See issue description: https://github.com/zaggino/brackets-git/issues/1311
Initial commit is handled in a different way when trying to get the diff, however to identify an initial commit a new attribute is added to it. This is only done when we have a scroll, so the fix adds this identification also when it is rendered for the first time