GithubHelp home page GithubHelp logo

rjaviervega / tree-view-git-modified Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 7.0 226 KB

Atom.io package to display pane with git modified files

License: MIT License

CoffeeScript 97.42% CSS 2.58%

tree-view-git-modified's People

Contributors

amdluigi avatar n-a-m-e avatar rjaviervega avatar simon04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tree-view-git-modified's Issues

Uncaught TypeError: Cannot read property 'repo' of null

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.23.1 x64
Electron: 1.6.15
OS: Ubuntu 14.04.5
Thrown From: tree-view-git-modified package 0.7.3

Stack Trace

Uncaught TypeError: Cannot read property 'repo' of null

At /home/isaac/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified.coffee:78

TypeError: Cannot read property 'repo' of null
    at Object.openAll (/packages/tree-view-git-modified/lib/tree-view-git-modified.coffee:78:23)
    at /packages/tree-view-git-modified/lib/tree-view-git-modified.coffee:20:98)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:388:36)
    at CommandRegistry.dispatch (/usr/share/atom/resources/app/src/command-registry.js:273:23)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/usr/share/atom/resources/app/src/atom-environment.js:1393:34)
    at EventEmitter.outerCallback (/usr/share/atom/resources/app/src/application-delegate.js:335:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -0:07.0 tree-view-git-modified:openAll (div.tool-panel.tree-view)

Non-Core Packages

busy-signal 1.4.3 
color-picker 2.2.5 
docblockr 0.13.4 
git-plus 7.10.0 
gtk-dark-theme 0.1.4 
highlight-selected 0.13.1 
intentions 1.1.5 
linter 2.2.0 
linter-csslint 2.0.0 
linter-htmlhint 1.4.0 
linter-jshint 3.1.6 
linter-php 1.5.1 
linter-ui-default 1.6.10 
minimap 4.29.7 
minimap-find-and-replace 4.5.2 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
open-git-modified-files 0.2.4 
open-recent 5.0.0 
php-cs-fixer 4.1.1 
platformio-ide-terminal 2.7.0 
seti-syntax 1.0.1 
seti-ui 1.9.0 
tree-view-git-branch 0.1.2 
tree-view-git-modified 0.7.3 
tree-view-git-status 1.4.0 

File list failing to display after Atom 1.17 update.

I just updated to Atom 1.17.0 x64 and now git tree view is failing to open.

Error
tree-view-git-modified-view.coffee:63
Uncaught (in promise) TypeError: Cannot read property 'style' of null
at .atom/packages/tree-view-git-modified/lib/tree-view-git-modified-view.coffee:63:64

Here is the code
image

Atom Packages
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Maybe this has something to do with Docks?

Modified file list showing items from .gitignore

I've noticed that this plugin generally processes .gitignore correctly. However, it seems to be showing ignored files in a project with a .gitignore containing:

*/node_modules/*

It seems to work correctly with "node_modules" or "node_modules/", but not with "/node_modules" or "/node_modules/". Unfortunately, the hundreds of files in nodemodules makes atom run incredibly slowly when I'm working on that particular code base.

Uncaught TypeError: entry.getPath is not a function

Stack

/usr/share/atom/resources/app.asar/node_modules/tree-view/lib/tree-view.js:788
Hide Stack Trace
TypeError: entry.getPath is not a function
    at TreeView.module.exports.TreeView.moveSelectedEntry (/usr/share/atom/resources/app.asar/node_modules/tree-view/lib/tree-view.js:788:25)
    at space-pen-div.atom.commands.add.tree-view:move (/usr/share/atom/resources/app.asar/node_modules/tree-view/lib/tree-view.js:292:26)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)

Uncaught TypeError: _ref.is is not a function

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.4
Thrown From: tree-view-git-modified package 0.7.1

Stack Trace

Uncaught TypeError: _ref.is is not a function

At /Users/Thibaud/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified.coffee:35

TypeError: _ref.is is not a function
    at /packages/tree-view-git-modified/lib/tree-view-git-modified.coffee:35:31)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at /app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/app.asar/src/window-event-handler.js:106:36)
    at /app.asar/src/window-event-handler.js:3:59)

Commands

     -2:46.7.0 core:backspace (input.hidden-input)
     -2:43.8.0 editor:move-to-end-of-screen-line (input.hidden-input)
     -2:42.2.0 core:save (input.hidden-input)
     -2:41.7.0 ruby-test:test-previous (input.hidden-input)
     -1:00.0 core:save (input.hidden-input)
     -0:58.8.0 grammar-selector:show (atom-text-editor.editor.is-focused)
     -0:57.7.0 core:confirm (input.hidden-input)
  3x -0:55.3.0 ruby-test:test-single (input.hidden-input)
     -0:13.4.0 tree-view:toggle (input.hidden-input)
     -0:12.3.0 editor:consolidate-selections (input.hidden-input)
     -0:12.3.0 core:cancel (input.hidden-input)
     -0:12.1.0 editor:consolidate-selections (input.hidden-input)
     -0:12.1.0 core:cancel (input.hidden-input)
     -0:12.1.0 editor:consolidate-selections (input.hidden-input)
     -0:12.1.0 core:cancel (input.hidden-input)
     -0:08.1.0 tree-view:toggle (input.hidden-input)

Non-Core Packages

atom-ctags 5.0.0 
atom-test-runner 0.11.1 
busy-signal 1.3.0 
disable-arrow-keys 0.1.0 
emacs-core-keys 0.2.3 
file-icons 2.1.2 
highlight-selected 0.13.1 
intentions 1.1.2 
language-fish-shell 1.0.5 
language-mjml 1.9.0 
language-rspec 0.6.1 
language-tmux 0.4.0 
linter 2.1.2 
linter-jshint 3.0.3 
linter-rubocop 2.0.0 
linter-ruby 1.2.5 
linter-stylelint 3.10.0 
linter-ui-default 1.2.2 
maximize-panes 0.2.0 
move-panes 0.2.0 
rails-rspec 0.3.2 
railscasts-syntax 0.5.0 
rspec-toggle-focus 0.3.0 
ruby-block-converter 3.5.0 
ruby-slim 0.2.0 
ruby-test 1.0.1 
script 3.14.1 
toggle-quotes 1.0.1 
tree-view-git-modified 0.7.1 

Uncaught TypeError: Cannot read property 'path' of null

  1. Add Project
  2. Select a folder that does not have .git file

Atom Version: 1.11.1
Electron Version: 0.37.8
System: Mac OS X 10.12
Thrown From: tree-view-git-modified package, v0.7.1

Stack Trace

Uncaught TypeError: Cannot read property 'path' of null

At /Users/billreed/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified-view.coffee:29

TypeError: Cannot read property 'path' of null
    at /Users/billreed/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified-view.coffee:29:18
    at TreeViewGitModifiedView.module.exports.TreeViewGitModifiedView.loadRepos (/Users/billreed/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified-view.coffee:28:9)
    at /Users/billreed/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified-view.coffee:16:8
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
    at Project.module.exports.Project.addPath (/Applications/Atom.app/Contents/Resources/app.asar/src/project.js:270:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:974:41
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/application-delegate.js:27:16)
    at emitTwo (events.js:100:13)
    at EventEmitter.emit (events.js:185:7)

Commands

     -0:12.7.0 application:add-project-folder (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "projectHome": "/Users/billreed/verona-dev",
    "telemetryConsent": "limited"
  }
}

Installed Packages

# User
atom-beautify, v0.29.10 (active)
block-comment, v0.4.3 (inactive)
change-tabs, v0.2.0 (active)
compare-files, v0.6.2 (active)
docblockr, v0.7.3 (active)
jsdoc-generator, v0.2.3 (active)
language-scala-plus, v1.2.2 (active)
merge-conflicts, v1.4.4 (active)
minimap, v4.24.7 (active)
node-debugger, v1.7.0 (active)
tabs-to-spaces, v1.0.2 (active)
tree-view-git-modified, v0.7.1 (active)
tree-view-git-status, v1.0.2 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.2.0 (inactive)
base16-tomorrow-light-theme, v1.2.0 (inactive)
one-dark-ui, v1.6.0 (active)
one-light-ui, v1.6.0 (inactive)
one-dark-syntax, v1.3.0 (active)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.7.0 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.201.1 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.59.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v1.0.0 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.68.2 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.101.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.209.3 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

Duplicate items

Not sure why but sometimes the modified list displays duplicate items (see utils.php):

captura de ecra 2015-07-6 as 15 22 47

Note: There's only one file named utils.php in the project.

Congrats on the idea.

Increased length of tree-view not taken into account for scrolling

When the Git Modified section is large enough to push the end of the tree-view out of sight, tree-view does not trigger the scrolling interface and stays static even so files are out of view. Should this plugin maybe communicate the length of file list somehow to the tree-view plugin?

I attach some screenshots, even so I'm not sure they help as they don't prove that scrolling does not work, but one can see how the last files of the standard tree-view are now out of sight:

screenshot 2015-07-27 12 19 12
screenshot 2015-07-27 12 19 18

Modified files are not found anymore

In Atom 1.8.0 (and I think in the previous 1.7.3 as well) the tree view panel has no content anymore.
I have attached a screenshot and I hope it's not related to other packages I use.

Would be great to get it fixed, I really like this package!

atom-gitmodified-bug

Uncaught TypeError: Cannot read property 'indexOf' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.30.0 x64
Electron: 2.0.5
OS: Mac OS X 10.13.6
Thrown From: tree-view-git-modified package 0.7.3

Stack Trace

Uncaught TypeError: Cannot read property 'indexOf' of undefined

At /Users/chris/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified-pane-view.coffee:145

TypeError: Cannot read property 'indexOf' of undefined
    at /packages/tree-view-git-modified/lib/tree-view-git-modified-pane-view.coffee:145:31
    at Function.find (/packages/tree-view-git-modified/node_modules/lodash/dist/lodash.js:3217:15)
    at TreeViewOpenFilesPaneView.module.exports.TreeViewOpenFilesPaneView.entryForItem (/packages/tree-view-git-modified/lib/tree-view-git-modified-pane-view.coffee:143:7)
    at TreeViewOpenFilesPaneView.module.exports.TreeViewOpenFilesPaneView.setActiveEntry (/packages/tree-view-git-modified/lib/tree-view-git-modified-pane-view.coffee:155:19)
    at /packages/tree-view-git-modified/lib/tree-view-git-modified-pane-view.coffee:79:8
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:27:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:156:34)
    at Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:443:26)
    at Pane.activateItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:583:18)
    at TabBarView.module.exports.TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:730:25)

Commands

     -3:13 editor:consolidate-selections (input.hidden-input)
     -3:13 core:cancel (input.hidden-input)
     -3:11 core:move-down (input.hidden-input)
     -2:44 editor:newline (input.hidden-input)
  2x -2:40.5.0 core:backspace (input.hidden-input)
     -1:39.4.0 autocomplete-plus:cancel (input.hidden-input)
  3x -1:35.5.0 core:backspace (input.hidden-input)
     -1:17.7.0 autocomplete-plus:cancel (input.hidden-input)
     -1:11.9.0 editor:consolidate-selections (input.hidden-input)
     -1:11.9.0 core:cancel (input.hidden-input)
     -1:03.5.0 editor:newline (input.hidden-input)
  2x -1:02.5.0 core:backspace (input.hidden-input)
     -0:36.9.0 autocomplete-plus:cancel (input.hidden-input)
     -0:35.9.0 core:move-right (input.hidden-input)
     -0:14.6.0 core:move-left (input.hidden-input)
  4x -0:12.4.0 core:backspace (input.hidden-input)

Non-Core Packages

atom-cli-diff 1.9.0 
atom-pair 2.0.13 
atom-realtime-collaboration 0.7.1 
atom-terminal 0.8.0 
atom-typescript 12.6.3 
autocomplete-gemfile 0.0.5 
build-dockerfile 1.0.1 
busy-signal 1.4.3 
crystal-slang 1.0.0 
git-control 0.9.0 
git-plus 8.1.0 
goto-definition 1.3.4 
hide-files 0.3.0 
ide-crystal 0.3.3 
intentions 1.1.5 
language-crystal-actual 0.37.2 
language-docker 1.1.8 
language-dotenv 1.2.0 
language-elixir 0.22.1 
language-graphql 0.10.1 
language-groovy 0.7.0 
language-haml 0.31.1 
language-lua 0.9.11 
language-nginx 0.8.0 
language-slim 1.0.0 
language-terraform 0.8.1 
language-varnish 0.6.0 
language-vue 0.23.1 
line-diff-details 1.9.0 
linter 2.2.0 
linter-eslint 8.4.1 
linter-golinter 1.2.2 
linter-terraform-syntax 1.2.4 
linter-ui-default 1.7.1 
minimap 4.29.8 
minimap-bookmarks 0.4.2 
minimap-cursorline 0.2.0 
minimap-git-diff 4.3.1 
nav-panel-plus 0.3.2 
platformio-ide-terminal 2.8.4 
project-manager 3.3.6 
sort-lines 0.18.0 
ssh-config 0.14.0 
Sublime-Style-Column-Selection 1.7.4 
tablr 1.8.3 
teletype 0.13.3 
tree-view-git-modified 0.7.3 
vue2-autocomplete 0.1.0-alpha.4 

Modified files duplicated for Project folders

If I have a project that is using multiple folders from the same repositry folder the modified files are the duplicated.

image

in this case the 3 folders you can see are all sub directories of the same git checkout as atom is only used for editing some of the codebase

git-modified panel not found

After upgrade to 1.1.0 , the git-modified panel not found. In the developer tools, I found this message

Uncaught (in promise) TypeError: atom.packages.activatePackage(...).then(...).fail is not a function
    at /Users/faceair/.atom/packages/tree-view-git-modified/node_modules/atom-utils/lib/atom-utils.js:28:14
    at Array.forEach (native)
    at /Users/faceair/.atom/packages/tree-view-git-modified/node_modules/atom-utils/lib/atom-utils.js:24:25
    at module.exports.requirePackages (/Users/faceair/.atom/packages/tree-view-git-modified/node_modules/atom-utils/lib/atom-utils.js:8:14)
    at Object.module.exports.TreeViewGitModified.activate (/Users/faceair/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified.coffee:27:5)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:232:19)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:212:32
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:153:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:205:26
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:201:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:474:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:457:29
    at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:300:16)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:452:19)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:436:46)
    at Atom.module.exports.Atom.startEditorWindow (/Applications/Atom.app/Contents/Resources/app.asar/src/atom.js:625:21)

Suggestion: Option to display below the tree view?

I find that often I have modified a file so that when I next double click in the tree view, the file gets autosaved, and then tree-view-git-modified adds the file to it's list, and therefore moves all the files in the tree view down a line - resulting in opening the file above the one I was hoping to open.

Is it possible there could be an option to display the list below the tree view so that the above doesn't happen?

Right clicking tree view items

I can't right click to perform actions on files from the tree view - usually this is minor because I can just open the file, hit Cmd+Shift+\, but the real problem is when I have an extremely large file added (such as a db dump, or results CSV, or some other fom of large output) which takes forever/never to open in Atom, so I would like to be able to rename/delete/move the file from the status tree view. When right clicking a file and choosing Delete for example, the actual file/folder chosen would be the one in the regular tree view, not the one clicked on.

Steps to reproduce:

  1. Have any changes in your project
  2. Attempt to right-click an item in the tree view
  3. Select any option
  4. Option would be applied to the selected item in the regular tree view, not the clicked on one in the git modified tree view

Uncaught TypeError: ref.is is not a function

Step to repro:

  1. Execute keyboard shortcut to toggle the display of the tree panel throws error.

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Ubuntu 16.04.2
Thrown From: tree-view-git-modified package 0.7.1

Stack Trace

Uncaught TypeError: ref.is is not a function

At /home/gold/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified.coffee:35

TypeError: ref.is is not a function
    at /packages/tree-view-git-modified/lib/tree-view-git-modified.coffee:35:31)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at /app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/app.asar/src/window-event-handler.js:106:36)
    at /app.asar/src/window-event-handler.js:3:59)

Commands

     -0:55.9.0 intentions:highlight (input.hidden-input)
     -0:55.6.0 tree-view:toggle (input.hidden-input)
  4x -0:18.7.0 advanced-open-file:toggle (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.6 
atom-darcula 0.2.0 
atom-easy-jsdoc 4.12.1 
atom-typescript 11.0.1 
atomic-emacs 0.10.0 
base16-ocean-dark-spacegray 0.13.0 
blame 0.10.3 
busy-signal 1.3.0 
center-line 1.2.4 
chester-atom-syntax 0.1.1 
clipboard-plus 0.5.1 
color-picker 2.2.5 
config-import-export 0.3.1 
cursor-blink-interval 0.3.1 
dark-flat-ui 1.2.4 
darkula-ui 0.1.0 
darkular-syntax 0.3.0 
dracula-theme 2.0.3 
dracula-ui 0.4.1 
duotone-dark-sea-syntax 2.1.0 
editorconfig 2.2.2 
emacs-flow 0.1.2 
emacs-plus 0.11.1 
file-icons 2.1.3 
filesize 2.0.4 
flat-simple-dark-ui 0.1.1 
flat-ui-syntax 0.5.1 
flatland-dark-ui 0.2.5 
fold-functions 0.5.0 
fonts 2.0.0 
git-blame 1.0.1 
git-difftool 0.2.7 
git-plus 7.4.0 
gold-syntax 0.4.0 
goto-definition 1.3.1 
highlight-selected 0.13.1 
idiomatic-dark-syntax 0.1.3 
incremental-search 5.2.2 
intentions 1.1.2 
isearch 0.1.13 
language-lisp 0.2.0 
language-vue 0.21.2 
linter 2.1.2 
linter-eslint 8.1.6 
linter-pylint 2.0.1 
linter-ui-default 1.2.2 
nord-atom-syntax 0.8.0 
nord-atom-ui 0.11.0 
northem-dark-atom-syntax 2.0.0 
northem-dark-atom-ui 2.0.0 
open-on-bitbucket 0.4.0 
open-recent 5.0.0 
photon-syntax 0.9.0 
pigments 0.39.1 
platformio-ide-terminal 2.5.0 
pretty-json 1.6.3 
project-manager 3.3.4 
raml 0.2.0 
react 0.16.2 
spacegray-atom-dark-syntax 1.3.2 
spacegray-dark-ui 0.12.0 
sync-settings 0.8.1 
toggle-gutter 0.2.2 
tree-view-git-modified 0.7.1 
underline-trailing-whitespace 1.4.2 

Git Modified shows files that don't show modified with git status

In this screenshot, you can see that it Git Modified shows 3 files as changed.
image

When running git status you can see local.xml is the only file shown.
git status

Atom Version: 1.4.3
System: Microsoft Windows 10 Pro

Installed packages

# User
aligner, v0.18.1
bottom-dock, v0.3.7
emmet, v2.4.1
file-icons, v1.6.14
goto-definition, v1.1.7
linter, v1.11.3
minimap, v4.19.0
minimap-autohide, v0.10.1
minimap-git-diff, v4.1.8
pigments, v0.22.1
todo-manager, v0.2.6
tree-view-git-modified, v0.6.2
# Dev
No dev packages

Is there something I'm missing? Thanks!

Failed to activate the tree-view-git-modified package

  1. Add a project folder that is not a git project
  2. Enable the "tree-view-git-modified" package
    -> Atom-Error notification shown

OR

  1. Have the "tree-view-git-modified" package enabled
  2. Add a project folder that is not a git project
    -> Nothing happens, folder not added

Atom Version: 1.8.0
System: Mac OS X 10.11.4
Thrown From: tree-view-git-modified package, v0.6.4

Stack Trace

Failed to activate the tree-view-git-modified package

At Cannot read property 'path' of null

TypeError: Cannot read property 'path' of null
    at /Users/XXXXX/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified-view.coffee:29:18
    at TreeViewGitModifiedView.module.exports.TreeViewGitModifiedView.loadRepos (/Users/XXXXX/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified-view.coffee:28:9)
    at new TreeViewGitModifiedView (/Users/XXXXX/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified-view.coffee:14:6)
    at Object.module.exports.TreeViewGitModified.activate (/Users/XXXXX/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified.coffee:12:36)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:183:20)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:156:32
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:149:26
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:538:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:342:19
    at /Applications/Atom.app/Contents/Resources/app.asar/src/config.js:631:20
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Config.module.exports.Config.emitChangeEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:816:29)
    at Config.module.exports.Config.setRawValue (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:608:19)
    at Config.module.exports.Config.set (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:227:14)
    at Config.module.exports.Config.removeAtKeyPath (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:377:12)
    at Package.module.exports.Package.enable (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:77:26)
    at PackageManager.module.exports.PackageManager.enablePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:169:14)
    at HTMLButtonElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-card.js:328:27)
    at HTMLButtonElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

  2x -3:25.4.0 core:backspace (atom-text-editor.editor.power-mode.is-focused)
     -3:22.5.0 editor:consolidate-selections (atom-text-editor.editor.power-mode.is-focused)
     -3:22.5.0 core:cancel (atom-text-editor.editor.power-mode.is-focused)
     -3:19.8.0 clipboard-history:copy (atom-text-editor.editor.power-mode.is-focused)
     -3:03.4.0 editor:newline (atom-text-editor.editor.power-mode.is-focused)
     -3:02.9.0 core:paste (atom-text-editor.editor.power-mode.is-focused)
     -3:01.0 editor:move-to-first-character-of-line (atom-text-editor.editor.power-mode.is-focused)
     -2:58.8.0 core:paste (atom-text-editor.editor.power-mode.is-focused)
     -2:58 editor:move-to-beginning-of-word (atom-text-editor.editor.power-mode.is-focused)
 19x -2:57.6.0 core:delete (atom-text-editor.editor.power-mode.is-focused)
 18x -2:53.9.0 core:move-right (atom-text-editor.editor.power-mode.is-focused)
  3x -2:48.7.0 core:backspace (atom-text-editor.editor.power-mode.is-focused)
     -2:41.4.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.power-mode.is-focused)
     -2:38.3.0 core:backspace (atom-text-editor.editor.power-mode.is-focused)
     -2:30.3.0 window:save-all (atom-text-editor.editor.power-mode.is-focused)
     -0:41.2.0 tabs:close-all-tabs (li.texteditor.tab.sortable.active.right-clicked)

Config

{
  "core": {
    "disabledPackages": [
      "editorconfig",
      "atom-numbers",
      "atom-sort-sass",
      "active-files",
      "compare-files",
      "atom-ternjs",
      "tree-view-git-status",
      "open-on-github",
      "git-time-machine",
      "merge-conflicts"
    ]
  }
}

Installed Packages

# User
activate-power-mode, v0.5.2
angularjs, v0.3.4
clip-history, v0.2.1
clipboard-history, v0.6.6
cursor-history, v0.5.9
file-bookmark, v0.3.1
file-icons, v1.7.14
highlight-selected, v0.11.2
language-babel, v2.28.0
language-gherkin, v1.0.4
linter, v1.11.10
linter-eslint, v7.2.2
linter-htmlhint, v1.2.0
linter-sass-lint, v1.5.0
minimap, v4.24.6
minimap-git-diff, v4.3.1
pigments, v0.29.2
pretty-json, v1.4.1
project-view, v0.5.0
svg-preview, v0.7.4
tree-view-git-modified, v0.6.4
tree-view-open-files, v0.3.0

# Dev
No dev packages

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.