atom-git-control icon indicating copy to clipboard operation
atom-git-control copied to clipboard

Cannot read property 'push' of undefined

Open gosteev opened this issue 8 years ago • 2 comments

when i click on 'show diff' icon, i got this error in console. when i write the same in git bash, no error occurs:

image

image

this happens only with this file - diff on any other file works as expected

gosteev avatar Sep 24 '16 23:09 gosteev

Seeing the same issue, but my git doesn't output anything about line endings

screen shot 2017-05-04 at 11 10 50 am

~/s/v/c/c/vxl_mesos (master) $ git --no-pager diff recipes/slave.rb 
diff --git a/cookbooks/vxl_mesos/recipes/slave.rb b/cookbooks/vxl_mesos/recipes/slave.rb
index 41c2cd6..5aa0300 100644
--- a/cookbooks/vxl_mesos/recipes/slave.rb
+++ b/cookbooks/vxl_mesos/recipes/slave.rb
@@ -39,6 +39,11 @@ node.set['mesos']['slave']['flags']['attributes'] = 'driver:false'
 
 include_recipe 'mesos::slave'
 
+file '/etc/cron.daily/docker-cleanup' do
+  content 'docker system prune -af'
+  mode '0755'
+end
+
 # register service with consul
 consul_params = {
   tags: [node['vxl_service']['mesos']['cluster']],

matkam avatar May 04 '17 18:05 matkam

Still have this problem in 0.9.0. Compare file with CRLF line endings cause this error

Arcadia822 avatar May 23 '17 03:05 Arcadia822