brackets-userland / brackets-git

brackets-git — git extension for adobe/brackets
Other
656 stars 192 forks source link

Mark initial commit to fix error showing commit details #1312

Closed mateoguzman closed 8 years ago

mateoguzman commented 8 years ago

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

zaggino commented 8 years ago

Thanks @mateoguzman