             err_on_exit : true
             cb          : (err, output) =>
                 if err
-                    console.log(JSON.stringify(err), JSON.stringify(output))
                     console.warn("git editor ERROR exec'ing #{opts.cmd} #{opts.args.join(' ')}")
                     opts.cb(err, output)
                 opts.cb(err, output)

            @[action]()

    add_or_removed_checked_files : (name, listing_type) =>
        console.log('Name '+name+'Listing type'+listing_type)
        store = @redux.getStore(@name)
        window.actions = @; window.store = store
        console.log('A'+store.get('checked_files'))
        if not store.get('checked_files')
            @setState(checked_files: {"tracked": [], "untracked": []})
        console.log('B'+store.get('checked_files'))
        console.log('C'+listing_type+store.get('checked_files')[listing_type])
        console.log('D'+store.get('checked_files').get(listing_type).indexOf(name) > -1)
        # I was unable to modify the object as is Only worked once I did -> JSON -> object
        if store.get('checked_files').get(listing_type).indexOf(name) > -1
            checked_files = JSON.parse(JSON.stringify(store.get('checked_files')))

        else
            checked_files = JSON.parse(JSON.stringify(store.get('checked_files')))
            checked_files[listing_type].push(name)
            @setState(checked_files: checked_files)

FileCheckbox = rclass
    displayName : 'ProjectGit-FileCheckbox'
