Giter Club home page Giter Club logo

git-time-machine's People

Contributors

alhadis avatar apetro avatar cbeninati avatar chimit avatar dspeckhals avatar igorrafael avatar littlebee avatar maskott avatar melvinsh avatar mupchrch avatar raqystyle avatar stephenlacy avatar uzitech avatar vladrogovsky avatar waldnzwrld avatar

Stargazers

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

Watchers

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

git-time-machine's Issues

Doesn't work with Git worktrees

Error: Command failed: git log --pretty="format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at, #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}" --topo-order --date=local --numstat /Users/kriomant/Devel/some-proj/src/main.cc fatal: Not a git repository: /Users/kriomant/Devel/.someproj-bare/worktrees/some-proj

Cannot see first commit

I noticed that the first commit for a file was missing while using git-time-machine.

Is there some limit to how far back the timeline shows in terms of dates? The commit that first added a file is usually one of the most important commits to look for so I feel like the user should be given a way to scroll back as far back into history as possible.

Received 'git' is not a recognized as an internal or external command

I know git is installed globally, as I've been using it for ages, not sure why this happened tho? I have other Atom Git plugins installed that don't have any issues..

Running Windows 8

Error: Command failed: git log --pretty="format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at, #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}" --topo-order --date=local --numstat C:\Users\braunson\Documents\GitHub\webproject\bs-config.js 'git' is not recognized as an internal or external command, operable program or batch file.

Error: Command failed: git log --pretty="format:{#/dquotes/id#/dquotes/:

when I install this package an error popup that says this

Select a file in the git repo to see timeline
application\controllers\Checklist.php83:1
CRLFUTF-8PHPchecklist+10, -11
Error: Command failed: git log --pretty="format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at, #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}" --topo-order --date=local --numstat C:\xampp\htdocs\my_project\application\controllers\Checklist.php 'git' is not recognized as an internal or external command, operable program or batch file.

what to do about that?

Tries to get git log of config files

when I open the config.cson file I get an error

Error: Command failed: git log --pretty="format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at, #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}" --topo-order --date=local --numstat C:\Users\tjbrix.atom\config.cson fatal: Not a git repository (or any of the parent directories): .git

Is there a way to not check git history on config files?

Object.TextEditor is deprecated.

The TextEditor constructor is no longer public.

To construct a text editor, use atom.workspace.buildTextEditor().
To check if an object is a text editor, use atom.workspace.isTextEditor(object).

Object.TextEditor (/Applications/Atom.app/Contents/Resources/app.asar/exports/atom.js:39:14)
Object.<anonymous> (/Users/mathijsvanvelde/.atom/packages/git-time-machine/lib/git-time-machine.coffee:6:44)
Object.<anonymous> (/Users/mathijsvanvelde/.atom/packages/git-time-machine/lib/git-time-machine.coffee:58:4)
Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
Object..coffee (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
Module.load (module.js:356:32)

Use UI colors for diff highlighting

Currently the line background colors in the split-diff view are hard-coded, but they would integrate much better if it just used the colors defined by the UI theme, faded or lightened to suit.

Panel fails to show after 1.4.1 update (until restart)

Error: Invalid value for <circle> attribute r="NaN"
  (anonymous function) @ /Users/mjswensen/.atom/packages/git-time-machine/node_modules/d3/d3.js:8756
  tick @ /Users/mjswensen/.atom/packages/git-time-machine/node_modules/d3/d3.js:8956
  (anonymous function) @ /Users/mjswensen/.atom/packages/git-time-machine/node_modules/d3/d3.js:8936
  d3_timer_mark @ /Users/mjswensen/.atom/packages/git-time-machine/node_modules/d3/d3.js:2166
  d3_timer_step @ /Users/mjswensen/.atom/packages/git-time-machine/node_modules/d3/d3.js:2147
58

Error: Invalid value for <circle> attribute r="NaN"
  (anonymous function) @ /Users/mjswensen/.atom/packages/git-time-machine/node_modules/d3/d3.js:8756
  tick @ /Users/mjswensen/.atom/packages/git-time-machine/node_modules/d3/d3.js:8956
  d3_timer_mark @ /Users/mjswensen/.atom/packages/git-time-machine/node_modules/d3/d3.js:2166
  d3_timer_step @ /Users/mjswensen/.atom/packages/git-time-machine/node_modules/d3/d3.js:2147

After restarting, errors still occur but panel successfully shows.

Uncaught Error: ENOENT: no such file or directory, stat '/home/fusion809/GitHub/fusion809.github....

I was merely closing some files and the errors mentioned below happened.

Atom Version: 1.6.0
System: Arch Linux 4.4.5 Kernel.
Thrown From: git-time-machine package, v1.3.0

Stack Trace

Uncaught Error: ENOENT: no such file or directory, stat '/home/fusion809/GitHub/fusion809.github.io/_posts/2016/03/ATOM/03ba-unofficial.md'

At fs.js:854

Error: ENOENT: no such file or directory, stat '/home/fusion809/GitHub/fusion809.github.io/_posts/2016/03/ATOM/03ba-unofficial.md'
    at Error (native)
    at fs.statSync (fs.js:854:18)
    at Object.fs.statSync (ATOM_SHELL_ASAR.js:225:16)
    at Function.module.exports.GitLogUtils._fetchFileHistory (/home/fusion809/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:47:19)
    at Function.module.exports.GitLogUtils.getCommitHistory (/home/fusion809/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:39:21)
    at GitTimeMachineView.module.exports.GitTimeMachineView._renderTimeline (/home/fusion809/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:65:22)
    at GitTimeMachineView.module.exports.GitTimeMachineView.render (/home/fusion809/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:32:8)
    at GitTimeMachineView.module.exports.GitTimeMachineView.setEditor (/home/fusion809/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:24:6)
    at Object.module.exports.GitTimeMachine._onDidChangeActivePaneItem (/home/fusion809/.atom/packages/git-time-machine/lib/git-time-machine.coffee:44:25)
    at /home/fusion809/.atom/packages/git-time-machine/lib/git-time-machine.coffee:18:59
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /usr/share/atom/resources/app.asar/src/pane-container.js:346:27
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/usr/share/atom/resources/app.asar/src/pane.js:255:22)
    at Pane.module.exports.Pane.activateItemAtIndex (/usr/share/atom/resources/app.asar/src/pane.js:319:19)
    at Pane.module.exports.Pane.activatePreviousItem (/usr/share/atom/resources/app.asar/src/pane.js:284:21)
    at Pane.module.exports.Pane.removeItem (/usr/share/atom/resources/app.asar/src/pane.js:467:16)
    at Pane.module.exports.Pane.destroyItem (/usr/share/atom/resources/app.asar/src/pane.js:532:16)
    at atom-tabs.TabBarView.onClick (/usr/share/atom/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:622:17)

Commands

     -1:03.2.0 tree-view:add-folder (div.header.list-item)
     -0:59.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:57 tree-view:add-file (div.header.list-item)
  6x -0:55.7.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:43.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "allowPendingPaneItems": false,
    "disabledPackages": [
      "language-gfm"
    ],
    "ignoredNames": [
      ".git",
      ".osc",
      ".svn",
      ".hg"
    ],
    "themes": [
      "atom-dark-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages

# User
atomic-chrome, v0.3.0
build, v0.58.0
file-icons, v1.6.19
git-time-machine, v1.3.0
language-gentoo, v0.9.0
language-liquid, v0.4.0
language-lua, v0.9.4
language-markdown, v0.12.0
language-matlab-octave, v0.1.1
language-rpm-spec, v0.9.0
language-sage, v0.3.0
language-scilab, v0.1.0
markdown-writer, v2.3.2
package-sync, v1.0.0
pigments, v0.26.0
project-manager, v2.8.0
terminal-plus, v0.14.5

# Dev
No dev packages

Uncaught TypeError: Cannot read property 'repo' of undefined

Hey I'm really excited about this package. Unfortunately when I first installed it, I got the below stack trace every time I clicked on the visualization. After further investigation, this seems like it may be an issue with multiple folders in a project, since when I open a single folder, it works.

I'm happy to do more testing or answer any questions if it would help, since I love the idea.

Atom Version: 1.3.2
System: Mac OS X 10.11.2
Thrown From: git-time-machine package, v1.0.1
Other possibly relevant packages used: I use Project Manager to quick setup a project that contains multiple repositories and excludes some files. Each file I'm looking at is in a git repository though, and the package is able to correctly visualize its commits, and show commit summaries on hover.

Stack Trace

Uncaught TypeError: Cannot read property 'repo' of undefined

At /Users/ben/.atom/packages/git-time-machine/lib/git-revision-view.coffee:52

TypeError: Cannot read property 'repo' of undefined
    at Function.module.exports.GitRevisionView._loadRevision (/Users/ben/.atom/packages/git-time-machine/lib/git-revision-view.coffee:52:11)
    at Function.module.exports.GitRevisionView.showRevision (/Users/ben/.atom/packages/git-time-machine/lib/git-revision-view.coffee:42:6)
    at GitTimeplot.module.exports.GitTimeplot._viewNearestRevision (/Users/ben/.atom/packages/git-time-machine/lib/git-timeplot.coffee:210:20)
    at later (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:724:25)

Commands

     -2:47.8.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -2:43.8.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -2:43.8.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -2:41.3.0 tree-view:toggle (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -2:36.4.0 project-manager:list-projects (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -2:35.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:27.6.0 git-time-machine:toggle (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -1:50.4.0 vim-mode:reset-normal-mode (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -0:04.7.0 window:toggle-dev-tools (a.btn-issue.btn.btn-error)

Config

{
  "core": {
    "ignoredNames": [
      ".git",
      ".DS_Store",
      "*.pyc"
    ],
    "followSymlinks": true,
    "disabledPackages": [
      "autocomplete-plus-python-jedi"
    ],
    "themes": [
      "nucleus-dark-ui",
      "atom-dark-fusion-syntax"
    ]
  }
}

Installed Packages

# User
atom-dark-fusion-syntax, v1.1.0
atom-ternjs, v0.12.2
autocomplete-python, v1.2.4
cursor-history, v0.5.9
editorconfig, v1.2.2
git-time-machine, v1.0.1
highlight-selected, v0.11.1
language-babel, v2.7.0
linter, v1.11.3
linter-eslint, v5.2.7
linter-less, v2.3.3
minimap, v4.19.0
minimap-highlight-selected, v4.3.1
nucleus-dark-ui, v0.7.3
pigments, v0.19.5
project-manager, v2.6.5
vim-mode, v0.64.0
vim-surround, v0.8.1

# Dev
vim-mode, v0.62.0

Uncaught Error: Command failed: cd /home/pinage404/Project/docker/fish

Hi,

I've pressed alt+t on a non git project, then i've the error below when i change the focused tab

I can't toggle by repressing alt+t, the problem doesn't persist when restarting Atom

Let me know if i can help do identify the problem

Atom Version: 1.5.4
System: SolydK 8
Thrown From: git-time-machine package, v1.2.5

Stack Trace

Uncaught Error: Command failed: cd /home/pinage404/Project/docker/fish && git log --pretty='format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at, #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}' --topo-order --date=local --numstat /home/pinage404/Project/docker/fish/Dockerfile
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

At child_process.js:496

Error: Command failed: cd /home/pinage404/Project/docker/fish && git log --pretty='format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at,  #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}' --topo-order --date=local --numstat /home/pinage404/Project/docker/fish/Dockerfile
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

    at checkExecSyncError (child_process.js:453:13)
    at Object.execSync (child_process.js:493:13)
    at Function.module.exports.GitLogUtils._fetchFileHistory (/home/pinage404/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:58:27)
    at Function.module.exports.GitLogUtils.getCommitHistory (/home/pinage404/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:39:21)
    at GitTimeMachineView.module.exports.GitTimeMachineView._renderTimeline (/home/pinage404/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:65:22)
    at GitTimeMachineView.module.exports.GitTimeMachineView.render (/home/pinage404/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:32:8)
    at GitTimeMachineView.module.exports.GitTimeMachineView.setEditor (/home/pinage404/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:24:6)
    at Object.module.exports.GitTimeMachine._onDidChangeActivePaneItem (/home/pinage404/.atom/packages/git-time-machine/lib/git-time-machine.coffee:44:25)
    at /home/pinage404/.atom/packages/git-time-machine/lib/git-time-machine.coffee:18:59
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /usr/share/atom/resources/app.asar/src/pane-container.js:333:27
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/usr/share/atom/resources/app.asar/src/pane.js:248:22)
    at Pane.module.exports.Pane.activateItemAtIndex (/usr/share/atom/resources/app.asar/src/pane.js:312:19)
    at Pane.module.exports.Pane.activatePreviousItem (/usr/share/atom/resources/app.asar/src/pane.js:277:21)
    at atom-tabs.TabBarView.onMouseWheel (/usr/share/atom/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:653:26)

Commands

     -0:15.1.0 git-time-machine:toggle (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "autocomplete-atom-api",
      "update-package-dependencies",
      "spell-check",
      "open-on-github",
      "atom-terminal-panel",
      "markdown-scroll-sync",
      "toggle-markdown-task",
      "markdown-preview-opener",
      "atom-pair",
      "nucleus",
      "motepair",
      "motepair2",
      "covalent",
      "floobits",
      "dev-live-reload",
      "atom-notifier",
      "vnc",
      "text-buffer",
      "tablr",
      "html2jade-plus",
      "markdown-lists",
      "bookmarks",
      "welcome",
      "package-generator",
      "deprecation-cop",
      "language-toml",
      "language-perl",
      "language-objective-c",
      "language-mustache",
      "language-hyperlink",
      "language-clojure",
      "language-csharp"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      ".directory"
    ],
    "projectHome": "~/Project",
    "themes": [
      "atom-material-ui",
      "atom-monokai-soda"
    ]
  }
}

Installed Packages

# User
api-docs, v0.0.4
atom-material-ui, v1.2.0
atom-monokai-soda, v2.0.0
autoclose-html, v0.23.0
autocomplete-python, v1.7.0
autocomplete-sass, v0.1.0
bezier-curve-editor, v0.7.2
build, v0.55.0
build-make, v0.7.0
build-tools, v4.3.4
compass, v0.9.1
dockerletion, v0.2.0
editor-stats, v0.17.0
editorconfig, v1.2.4
emmet, v2.4.2
es-identifier-highlight, v0.2.9
file-icons, v1.6.17
flex-tool-bar, v0.7.3
git-log, v0.4.1
git-time-machine, v1.2.5
git-wip, v0.2.2
highlight-selected, v0.11.2
keyboard-localization, v1.4.15
language-babel, v2.15.5
language-docker, v1.1.6
language-fish-shell, v1.0.3
language-gitignore, v0.2.0
language-jade, v0.6.3
language-javascript-better, v1.7.1
language-plantuml, v0.2.0
linter, v1.11.3
linter-cpplint, v1.0.1
linter-docker, v0.1.2
linter-jade, v0.3.2
linter-markdown, v1.5.0
linter-polymer, v0.0.2
markdown-mindmap, v0.2.4
minimap, v4.19.0
minimap-cursorline, v0.1.0
minimap-find-and-replace, v4.4.0
minimap-git-diff, v4.1.8
minimap-highlight-selected, v4.3.1
minimap-linter, v1.1.1
minimap-pigments, v0.1.7
minimap-selection, v4.3.1
pigments, v0.24.2
plantuml-viewer, v0.7.0
polymer-atom, v0.0.8
polymerjs-snippets, v2.1.0
project-manager, v2.7.6
python-tools, v0.6.7
regex-railroad-diagram, v0.11.0
set-syntax, v0.3.0
show-first-line-on-tab, v0.3.7
ssh-config, v0.10.1
sync-settings, v0.6.0
tab-control, v0.6.9
tabs-to-spaces, v1.0.2
term3, v0.21.2
tool-bar, v0.3.0
tree-view-git-status, v0.2.3
up2date, v0.1.2

# Dev
No dev packages

Error : Command failed : git log

Hello everyone,

I have seen amount of issues with this name on internet, but whatever I do I can't solve this.
Whenever I try Alt + T, I saw this error log

Error: Command failed: git log --pretty="format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at, #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}" --topo-order --date=local --numstat W:\CLIENTS\client\Clients^ client\client2\plateforme^ telechargement\www\includes\trait-relancelogement2.php fatal: Invalid object name 'W'.

I try this solutions, none works.
Installing git into Windows PATH variables. Now when I do a git command wherever I am that show me the command help.
Same kind of link here

The first link, but the less understanding after a google search.
Have we to write into GitTimeMachineView._renderTimeline file ? I don't know where he is.

Unless I find a solution, I have to delete the package because the log error show everytime I switch into a new file.
If one of you have a solution, i will be thankfull :)

how to open it ?

Hi,littlebee

I just ask for how to open it in Atom use Mac, commond+?

"No commits, nothing to see here"

When I toggle-on the commit history view, I just see "No commits, nothing to see here", though the project folder I'm working in is git-tracked (I can see modified/new/deleted files indicated in the tree view). Any troubleshooting hints?

EDIT: Atom 1.4.0, git-time-machine 1.2.3

Performance issues

(On macbook air 2014 baseline model, 4g ram 1.3 GHz Intel Core i5)

When I have 3 atom windows open, and I close and reopen atom, git-timemachine seems to do some work that freezes the whole computer for a good 10 minutes (literally). I'm not sure what work it's doing during startup.

Really love this plugin otherwise, but as it is I can only have a single atom window open to avoid the startup freeze.

Uncaught Error: Command failed: cd /home/elmasry/Desktop/Angular_Apps/js

[Enter steps to reproduce below:]

  1. ...
  2. ...[Enter steps to reproduce below:]
  3. ...
  4. ...

Atom Version: 1.6.0
System: Ubuntu 14.04.4
Thrown From: git-time-machine package, v1.3.0

Stack Trace

Uncaught Error: Command failed: cd /home/elmasry/Desktop/Angular_Apps/js && git log --pretty="format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at, #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}" --topo-order --date=local --numstat /home/elmasry/Desktop/Angular_Apps/js/app.js
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

At child_process.js:496

Error: Command failed: cd /home/elmasry/Desktop/Angular_Apps/js && git log --pretty="format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at,  #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}" --topo-order --date=local --numstat /home/elmasry/Desktop/Angular_Apps/js/app.js
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

    at checkExecSyncError (child_process.js:453:13)
    at Object.execSync (child_process.js:493:13)
    at Function.module.exports.GitLogUtils._fetchFileHistory (/home/elmasry/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:58:27)
    at Function.module.exports.GitLogUtils.getCommitHistory (/home/elmasry/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:39:21)
    at GitTimeMachineView.module.exports.GitTimeMachineView._renderTimeline (/home/elmasry/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:65:22)
    at GitTimeMachineView.module.exports.GitTimeMachineView.render (/home/elmasry/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:32:8)
    at GitTimeMachineView.module.exports.GitTimeMachineView.setEditor (/home/elmasry/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:24:6)
    at Object.module.exports.GitTimeMachine._onDidChangeActivePaneItem (/home/elmasry/.atom/packages/git-time-machine/lib/git-time-machine.coffee:44:25)
    at /home/elmasry/.atom/packages/git-time-machine/lib/git-time-machine.coffee:18:59
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /usr/share/atom/resources/app.asar/src/pane-container.js:346:27
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/usr/share/atom/resources/app.asar/src/pane.js:255:22)
    at Pane.module.exports.Pane.activateItemAtIndex (/usr/share/atom/resources/app.asar/src/pane.js:319:19)
    at Pane.module.exports.Pane.activatePreviousItem (/usr/share/atom/resources/app.asar/src/pane.js:284:21)
    at Pane.module.exports.Pane.removeItem (/usr/share/atom/resources/app.asar/src/pane.js:467:16)
    at Pane.module.exports.Pane.destroyItem (/usr/share/atom/resources/app.asar/src/pane.js:532:16)
    at atom-tabs.TabBarView.onClick (/usr/share/atom/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:622:17)

Commands

     -1:51.8.0 git-time-machine:toggle (atom-text-editor.editor.is-focused)
     -1:33.8.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:33.5.0 editor:newline (atom-text-editor.editor.is-focused)
     -1:30.2.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:08.4.0 core:delete (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
git-time-machine, v1.3.0

# Dev
No dev packages

Atom Version: 1.6.0
System: Ubuntu 14.04.4
Thrown From: git-time-machine package, v1.3.0

Stack Trace

Uncaught Error: Command failed: cd /home/elmasry/Desktop/Angular_Apps/js

Open file not from git repository

I opened file not from Git repository, that caused Uncaught Error

Uncaught Error: Command failed:
cd {filepath} &&
git log --pretty="format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/,
 #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/:
 #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at, #/dquotes/message#/dquotes/: 
#/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: 
#/dquotes/%h#/dquotes/}" --topo-order --date=local --numstat {filepath}
fatal: Not a git repository (or any of the parent directories): .git

Seems that is needed to add check for repo

Escape to close?

I'd expect Esc to close the time machine panel, just like the find panel.

A close box would probably be nice too but I'm not sure where you'd put it.

Just a feature suggestion, feel free to close.

Great plugin!

Uncaught Error: ENOENT: no such file or directory, stat '/Users/myname/scripts'

If a file no longer exists (or never existed), I get this error.

Steps to Reproduce

  1. Install https://atom.io/packages/project-manager
  2. In the config there, define a path that doesn't exist.
  3. Open atom

OR

  1. make atom open a file that exists
  2. close atom
  3. remove the file
  4. open atom in a way that makes it open previously opened files

Atom Version: 1.5.3
System: Mac OS X 10.10.5
Thrown From: git-time-machine package, v1.2.5

Stack Trace

Uncaught Error: ENOENT: no such file or directory, stat '/Users/myname/scripts'

At fs.js:854

Error: ENOENT: no such file or directory, stat '/Users/myname/scripts'
    at Error (native)
    at fs.statSync (fs.js:854:18)
    at Object.fs.statSync (ATOM_SHELL_ASAR.js:225:16)
    at Function.module.exports.GitLogUtils._fetchFileHistory (/Users/myname/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:47:19)
    at Function.module.exports.GitLogUtils.getCommitHistory (/Users/myname/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:39:21)
    at GitTimeMachineView.module.exports.GitTimeMachineView._renderTimeline (/Users/myname/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:65:22)
    at GitTimeMachineView.module.exports.GitTimeMachineView.render (/Users/myname/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:32:8)
    at GitTimeMachineView.module.exports.GitTimeMachineView.setEditor (/Users/myname/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:24:6)
    at Object.module.exports.GitTimeMachine._onDidChangeActivePaneItem (/Users/myname/.atom/packages/git-time-machine/lib/git-time-machine.coffee:44:25)
    at /Users/myname/.atom/packages/git-time-machine/lib/git-time-machine.coffee:18:59
    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 /Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:333:27
    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 Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:248:22)
    at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:327:21)
    at atom-tabs.TabBarView.onMouseDown (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:670:19)

Commands

     -2:10.5.0 core:select-all (atom-text-editor.editor.mini.is-focused)
     -2:07.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:04.6.0 command-palette:toggle (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -2:02.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:02.5.0 git-time-machine:toggle (atom-text-editor.editor.vim-mode.normal-mode)
  7x -1:36.3.0 vim-mode:undo (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -1:34.3.0 core:save (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -1:25 core:close (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -1:21 core:select-all (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -1:19.8.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
     -1:18.5.0 core:select-all (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -1:18.2.0 core:paste (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
     -1:17.9.0 core:save (atom-text-editor.editor.vim-mode.is-focused.normal-mode)
     -0:53.8.0 vim-mode:activate-insert-mode (atom-text-editor.editor.vim-mode.is-focused.normal-mode)
     -0:52 vim-mode:activate-normal-mode (atom-text-editor.editor.vim-mode.is-focused.insert-mode)
  3x -0:49.6.0 vim-mode:undo (atom-text-editor.editor.vim-mode.is-focused.normal-mode)

Config

{
  "core": {
    "disabledPackages": [
      "atom-gmail-checker",
      "minimap",
      "linter-rubocop",
      "linter-rails-best-practices",
      "linter",
      "recent-projects",
      "merge-conflicts",
      "travis-ci-status",
      "my-github-profile",
      "git-status",
      "atom-status-text",
      "status-bar-clock",
      "move-status-items",
      "status-stats",
      "atom-commander",
      "language-json-comments",
      "copy-to-hipchat",
      "scroll-searcher",
      "jira-issue-search",
      "git-plus",
      "atom-pair"
    ],
    "openEmptyEditorOnStart": false,
    "projectHome": "/Users/myname/workspace/",
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.28.22
battery-status, v0.10.3
file-icons, v1.6.14
git-control, v0.4.0
git-time-machine, v1.2.5
language-docker, v1.1.6
language-viml, v0.3.0
line-count-status, v0.0.3
linter-chktex, v1.2.5
linter-csslint, v1.3.1
linter-erb, v1.0.2
linter-htmlhint, v1.0.3
linter-jshint, vundefined
linter-ruby, v1.2.2
open-recent, v5.0.0
project-manager, v2.7.6
remember-file-positions, v0.2.2
remote-edit, v1.8.24
space-tab, v0.4.2
space-underscore, v0.1.1
ssh-config, v0.10.1
temporary-root, v1.0.0
time-status, v1.1.2
tree-view-git-status, v0.2.3
vim-mode, v0.64.0

# Dev
No dev packages

comparing different branches

Dear developers,

it would be great to enhance the time machine with a feature for comparing different branches.
Is something like this planned in the future? (Or do you know of another packages which plans to do that?)

Failed to install git-time-machine because Git was not found.

Installation error message during installation within Atom

ERROR MESSAGE:
Installing โ€œ[email protected]โ€ failed.Hide outputโ€ฆ
Failed to install git-time-machine because Git was not found.
The git-time-machine package has module dependencies that cannot be installed without Git.
You need to install Git and add it to your path environment variable in order to install this package.

Run apm -v after installing Git to see what version has been detected.

'apm -v' returns:
apm 1.6.0
npm 2.13.3
node 0.10.40
python 2.7.10

git 2.6.4

'which git' returns: /usr/local/bin/git

This is an alias that points to its true location at: /usr/local/git/bin/git

$PATH
-bash: /Users/MVO/.rbenv/shims:
/usr/local/bin:
/usr/local/php5/bin:
/usr/local/bin/git:
/usr/local/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/Users/MVO/.composer/vendor/bin:
/Applications/Postgres.app/Contents/Versions/latest/bin:

/Users/MVO/.rvm/bin

On: OS X YOSEMITE 10.10.5 with Code Tools installed.

Error: Command failed: cd /home/duncan && git log --pretty="format:...

I had git time machine open, on a git controlled file in a project. It was working fine. I then switched to a tab in the same window - that was already/previously loaded - that contained a file that was in a different folder tree, not under git control at all.

I don't know if this is relevant, but this is just after I'd installed git-time-machine in another window - I'd done a View -> Developer -> Reload Window in this window, to get it to show up.

Atom Version: 1.6.0
System: Ubuntu 14.04.4
Thrown From: git-time-machine package, v1.3.0

Stack Trace

Uncaught Error: Command failed: cd /home/duncan && git log --pretty="format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at, #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}" --topo-order --date=local --numstat /home/duncan/.sbp
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

At child_process.js:496

Error: Command failed: cd /home/duncan && git log --pretty="format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at,  #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}" --topo-order --date=local --numstat /home/duncan/.sbp
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

    at checkExecSyncError (child_process.js:453:13)
    at Object.execSync (child_process.js:493:13)
    at Function.module.exports.GitLogUtils._fetchFileHistory (/home/duncan/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:58:27)
    at Function.module.exports.GitLogUtils.getCommitHistory (/home/duncan/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:39:21)
    at GitTimeMachineView.module.exports.GitTimeMachineView._renderTimeline (/home/duncan/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:65:22)
    at GitTimeMachineView.module.exports.GitTimeMachineView.render (/home/duncan/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:32:8)
    at GitTimeMachineView.module.exports.GitTimeMachineView.setEditor (/home/duncan/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:24:6)
    at Object.module.exports.GitTimeMachine._onDidChangeActivePaneItem (/home/duncan/.atom/packages/git-time-machine/lib/git-time-machine.coffee:44:25)
    at /home/duncan/.atom/packages/git-time-machine/lib/git-time-machine.coffee:18:59
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /usr/share/atom/resources/app.asar/src/pane-container.js:346:27
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/usr/share/atom/resources/app.asar/src/pane.js:255:22)
    at Pane.module.exports.Pane.activateItem (/usr/share/atom/resources/app.asar/src/pane.js:336:21)
    at atom-tabs.TabBarView.onMouseDown (/usr/share/atom/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:592:19)

Commands

     -5:51.1.0 application:open-file (atom-text-editor.editor.is-focused)
     -4:03.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -4:03.0 snippets:expand (atom-text-editor.editor.is-focused)
     -4:03.0 editor:indent (atom-text-editor.editor.is-focused)
  2x -4:00.7.0 core:undo (atom-text-editor.editor.is-focused)
  2x -3:49.2.0 application:open-file (atom-text-editor.editor.is-focused)
  2x -2:47.8.0 core:delete (atom-text-editor.editor.is-focused)
  2x -2:46.7.0 core:save (atom-text-editor.editor.is-focused)
     -2:29.1.0 core:undo (atom-text-editor.editor.is-focused)
     -2:27.2.0 core:close (atom-text-editor.editor.is-focused)
     -2:22.6.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -2:20.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:20.4.0 git-time-machine:toggle (atom-text-editor.editor)

Config

{
  "core": {
    "customFileTypes": {
      "source.shell": [
        "bash"
      ]
    }
  }
}

Installed Packages

# User
atom-jinja2, v0.5.0
autocomplete-project-paths, v2.2.0
autocomplete-python, v1.7.2
change-case, v0.6.0
character-table, v0.4.3
emmet, v2.4.3
git-time-machine, v1.3.0
jsonlint, v1.1.2
language-apache, v1.4.0
language-dotfiles, v0.2.0
language-restructuredtext, v0.12.0
linter, v1.11.4
linter-alex, v2.0.0
linter-csslint, v1.3.2
linter-jscs, v3.4.10
linter-just-say-no, v0.6.1
linter-markdownlint, v1.0.1
linter-pep8, v1.2.1
linter-shellcheck, v1.1.0
linter-write-good, v0.6.1
linter-xmllint, v1.3.4
minimap, v4.21.0
minimap-find-and-replace, v4.5.0
pigments, v0.26.0
set-syntax, v0.3.0
wrap, v0.1.0

# Dev
No dev packages

Atom installation error

When I try to install this package through Atom, it fails and I get the following error output.

npm WARN addRemoteGit Error: Command failed: 
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:658:15)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:98:17)
npm WARN addRemoteGit     at maybeClose (child_process.js:766:16)
npm WARN addRemoteGit     at Socket.<anonymous> (child_process.js:979:11)
npm WARN addRemoteGit     at Socket.emit (events.js:95:17)
npm WARN addRemoteGit     at Pipe.close (net.js:466:12)
npm WARN addRemoteGit  git+https://github.com/mupchrch/split-diff.git#v0.5.2 resetting remote C:\Users\tkindy\.atom\.apm\_git-remotes\https-github-com-mupchrch-split-diff-git-388df10c because of error: { [Error: Command failed: ] killed: false, code: 1, signal: null }
npm ERR! git clone --template=C:\Users\tkindy\.atom\.apm\_git-remotes\_templates --mirror https://github.com/mupchrch/split-diff.git C:\Users\tkindy\.atom\.apm\_git-remotes\https-github-com-mupchrch-split-diff-git-388df10c: Cloning into bare repository 'C:\Users\tkindy\.atom\.apm\_git-remotes\https-github-com-mupchrch-split-diff-git-388df10c'...
npm ERR! git clone --template=C:\Users\tkindy\.atom\.apm\_git-remotes\_templates --mirror https://github.com/mupchrch/split-diff.git C:\Users\tkindy\.atom\.apm\_git-remotes\https-github-com-mupchrch-split-diff-git-388df10c: fatal: Unable to find remote helper for 'https'
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\tkindy\\AppData\\Local\\atom\\app-1.7.2\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\tkindy\\AppData\\Local\\atom\\app-1.7.2\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\tkindy\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\tkindy\\.atom\\.apmrc" "install" "C:\\Users\\tkindy\\AppData\\Local\\Temp\\d-116321-12176-f454c4\\package.tgz" "--target=0.36.8" "--arch=ia32" "--msvs_version=2012"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code 128

npm ERR! Command failed: Cloning into bare repository 'C:\Users\tkindy\.atom\.apm\_git-remotes\https-github-com-mupchrch-split-diff-git-388df10c'...
npm ERR! fatal: Unable to find remote helper for 'https'
npm ERR! 
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

Uncaught Error: ENOENT: no such file or directory, stat '/home/user/dev/project/src/super-secret-project/Provi...

  1. Edit a File and leave the tab open
  2. Change to another tab
  3. Delete the file over context menu in sidebar
  4. Change back to the tab with the deleted file

Atom Version: 1.7.0-dev-4d8ec99
System: Linux Mint
Thrown From: git-time-machine package, v1.2.5

Stack Trace

Uncaught Error: ENOENT: no such file or directory, stat '/home/user/dev/project/src/super-secret-project/Provider/BuyRoutesProvider.php'

At ATOM_SHELL_ASAR.js:0

Error: ENOENT: no such file or directory, stat '/home/user/dev/project/src/super-secret-project/Provider/BuyRoutesProvider.php'
    at Error (native)
    at fs.statSync (fs.js:897:18)
    at Object.fs.statSync (ATOM_SHELL_ASAR.js:264:16)
    at Function.module.exports.GitLogUtils._fetchFileHistory (/home/user/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:47:19)
    at Function.module.exports.GitLogUtils.getCommitHistory (/home/user/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:39:21)
    at GitTimeMachineView.module.exports.GitTimeMachineView._renderTimeline (/home/user/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:65:22)
    at GitTimeMachineView.module.exports.GitTimeMachineView.render (/home/user/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:32:8)
    at GitTimeMachineView.module.exports.GitTimeMachineView.setEditor (/home/user/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:24:6)
    at Object.module.exports.GitTimeMachine._onDidChangeActivePaneItem (/home/user/.atom/packages/git-time-machine/lib/git-time-machine.coffee:44:25)
    at /home/user/.atom/packages/git-time-machine/lib/git-time-machine.coffee:18:59
    at Function.module.exports.Emitter.simpleDispatch (/usr/local/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/local/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /usr/local/share/atom/resources/app.asar/src/pane-container.js:346:27
    at Function.module.exports.Emitter.simpleDispatch (/usr/local/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/local/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/usr/local/share/atom/resources/app.asar/src/pane.js:248:22)
    at Pane.module.exports.Pane.activateItem (/usr/local/share/atom/resources/app.asar/src/pane.js:324:21)
    at atom-tabs.TabBarView.onMouseDown (/usr/local/share/atom/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:592:19)

Commands

     -0:36.7.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:36.4.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:36.3.0 core:paste (atom-text-editor.editor.is-focused)
     -0:34.6.0 snippets:previous-tab-stop (atom-text-editor.editor.is-focused)
     -0:34.6.0 editor:outdent-selected-rows (atom-text-editor.editor.is-focused)
     -0:30.4.0 core:copy (atom-text-editor.editor.is-focused)
  2x -0:29.5.0 core:paste (atom-text-editor.editor.is-focused)
     -0:26.6.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:26.2.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:25.9.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)
     -0:25.4.0 find-and-replace:select-next (atom-text-editor.editor.is-focused)
     -0:24.3.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:22.4.0 core:cut (atom-text-editor.editor.is-focused)
     -0:21.5.0 core:save (atom-text-editor.editor.is-focused)
     -0:16.9.0 tree-view:paste (span.name.icon.icon-file-text)
     -0:14.8.0 tree-view:remove (span.name.icon.icon-file-text)

Config

{
  "core": {
    "disabledPackages": [
      "autosave",
      "welcome",
      "package-generator",
      "open-on-github",
      "bookmarks"
    ],
    "ignoredNames": [
      ".git",
      ".coverage",
      "tags",
      "composer.*",
      ".tags_swap",
      "tmp"
    ],
    "packagesWithKeymapsDisabled": [
      "atom-beautify",
      "tool-bar",
      "linter",
      "atom-dark-ui",
      "highlight-line",
      "last-cursor-position",
      "phpunit"
    ],
    "projectHome": "/home/user/dev",
    "themes": [
      "atom-dark-ui",
      "afterglow-like"
    ]
  }
}

Installed Packages

# User
afterglow-like, v0.2.1
atom-beautify, v0.28.22
color-picker, v2.1.1
docblockr, v0.7.3
file-icons, v1.6.14
flex-tool-bar, v0.7.3
git-plus, v5.13.0
git-time-machine, v1.2.5
highlight-line, v0.11.1
keyboard-localization, v1.4.14
last-cursor-position, v0.9.0
linter, v1.11.3
linter-php, v1.1.8
php-cs-fixer, v2.5.6
phpunit, v1.2.0
pigments, v0.24.1
project-manager, v2.7.6
sync-settings, v0.6.0
tool-bar, v0.2.1
tree-view-git-status, v0.2.3

# Dev
No dev packages

I changed some paths for privacy reasons, time machine was not active when the error appeared

Uncaught Error: This TextEditor has been destroyed

[Enter steps to reproduce below:]

  1. Open a file, view with git-time-machine for a little while.
  2. Copy a few lines of text from the file, paste back into the file.
  3. Crash.

Atom Version: 1.3.3
System: Mac OS X 10.11.2
Thrown From: git-time-machine package, v1.2.2

Stack Trace

Uncaught Error: This TextEditor has been destroyed

At /Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:790

Error: This TextEditor has been destroyed
    at DisplayBuffer.module.exports.DisplayBuffer.screenPositionForBufferPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:790:15)
    at TextEditor.module.exports.TextEditor.screenPositionForBufferPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1251:33)
    at DiffViewEditor._createLineMarker (/Users/tangledfruit/.atom/packages/git-time-machine/node_modules/split-diff/lib/build-lines.js:76:39)
    at /Users/tangledfruit/.atom/packages/git-time-machine/node_modules/split-diff/lib/build-lines.js:66:53
    at Array.map (native)
    at DiffViewEditor.setLineHighlights (/Users/tangledfruit/.atom/packages/git-time-machine/node_modules/split-diff/lib/build-lines.js:66:30)
    at Object.module.exports.SplitDiff.displayDiff (/Users/tangledfruit/.atom/packages/git-time-machine/node_modules/split-diff/lib/split-diff.coffee:203:22)
    at Object.module.exports.SplitDiff.updateDiff (/Users/tangledfruit/.atom/packages/git-time-machine/node_modules/split-diff/lib/split-diff.coffee:117:6)
    at /Users/tangledfruit/.atom/packages/git-time-machine/lib/git-revision-view.coffee:132:17
    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 /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1314:25

Commands

     -1:44.3.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  2x -1:41.4.0 core:select-all (atom-text-editor.editor.mini.is-focused)
     -1:36 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:35.3.0 git-time-machine:toggle (atom-text-editor.editor)
     -1:35.2.0 core:move-down (atom-text-editor.editor.is-focused)
     -1:35.1.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:09.9.0 core:copy (atom-text-editor.editor.is-focused)
     -0:09.4.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:09.0 core:paste (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "projectHome": "/Users/tangledfruit/Projects"
  }
}

Installed Packages

# User
git-time-machine, v1.2.2
travis-ci-status, v0.18.0

# Dev
No dev packages

"cd" fails on directories with spaces

Git Time Machine immediately gives an error when trying to execute on a directory with spaces in the name. To reproduce:

  1. Go to a directory with spaces
  2. Toggle Git Time Machine

Atom Version: 1.6.0
System: Mac OS X 10.11.4
Thrown From: git-time-machine package, v1.3.0

Stack Trace

Uncaught Error: Command failed: cd /Users/fdb/Dropbox (Personal)/Projects/myproject

Uncaught Error: Command failed: cd /Users/eparayre/Dev/ReflectionParser/ReflectionParser.Core/Cla...

[Enter steps to reproduce below:]

Have two project folders in Atom.
One that is a git repo.
One that is not.
Open files from the git repo, all is fine.
Open files from the non git project folder, boom.

Atom Version: 1.5.3
System: Mac OS X 10.11.3
Thrown From: git-time-machine package, v1.2.5

Stack Trace

Uncaught Error: Command failed: cd /Users/eparayre/Dev/ReflectionParser/ReflectionParser.Core/Clang

Keybinding for comparing with the latest commit

It would be nice if the package would provide a keybinding for comparing the current file with latest committed version. Now the user has to toggle the git-time-machine on first and then select the latest commit with a mouse. A keybinding would be so much quicker than using a mouse.

Diff not working

I've just installed this (very promising!) plugin, unfortunately the diff doesn't work. Everything on the left side is green, everything on the right side red.

I've tried it with various git-repos, resulting in the same behavior. I've also found this post, so it seems like I'm not the only one with this issue: https://discuss.atom.io/t/compare-files-side-by-side-with-diff-highlight/13726/15

The split-diff package (which is used by git-time-machine, if I've read correctly) works fine, so I assume it's a git-time-machine-issue.

Further Info:
Windows 7
apm 1.5.0
npm 2.13.3
node 0.10.40
git-time-machine 1.2.3
split-diff 0.5.3

edit: All Files are (and have always been) UTF-8, so I'm quite sure it's not an encoding issue.

Closing the diff pane breaks atom.

This may not be a fault of this package. It seems very connected to a bug with the tabs package. I don't have the time to investigate further at the moment but here it is.

atom/tabs#253 (related issue)

I do have to say this is a fantastic package. Thanks @littlebee

This was one of the biggest features from webstorm that atom was lacking.

Uncaught TypeError: Cannot convert undefined or null to object

[Enter steps to reproduce below:]

  1. Not sure how to repro consistently. I just got this exception when clicking on a commit in the time machine.

Atom Version: 1.6.1
System: Mac OS X 10.11.4
Thrown From: git-time-machine package, v1.4.1

Stack Trace

Uncaught TypeError: Cannot convert undefined or null to object

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker-layer.js:132

TypeError: Cannot convert undefined or null to object
    at Function.keys (native)
    at MarkerLayer.module.exports.MarkerLayer.findMarkers (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker-layer.js:132:21)
    at DisplayBuffer.module.exports.DisplayBuffer.findFoldMarkers (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1146:36)
    at DisplayBuffer.module.exports.DisplayBuffer.screenPositionForBufferPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:799:29)
    at TextEditor.module.exports.TextEditor.screenPositionForBufferPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1278:33)
    at DiffViewEditor._createLineMarker (/Users/bsegraves/.atom/packages/git-time-machine/node_modules/split-diff/lib/build-lines.js:76:39)
    at /Users/bsegraves/.atom/packages/git-time-machine/node_modules/split-diff/lib/build-lines.js:65:55
    at Array.map (native)
    at DiffViewEditor.setLineHighlights (/Users/bsegraves/.atom/packages/git-time-machine/node_modules/split-diff/lib/build-lines.js:65:32)
    at Object.module.exports.SplitDiff.displayDiff (/Users/bsegraves/.atom/packages/git-time-machine/node_modules/split-diff/lib/split-diff.coffee:204:22)
    at Object.module.exports.SplitDiff.updateDiff (/Users/bsegraves/.atom/packages/git-time-machine/node_modules/split-diff/lib/split-diff.coffee:117:6)
    at Function.module.exports.GitRevisionView._splitDiff (/Users/bsegraves/.atom/packages/git-time-machine/lib/git-revision-view.coffee:147:15)
    at /Users/bsegraves/.atom/packages/git-time-machine/lib/git-revision-view.coffee:106:8
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:666:47

Commands

     -1:33.8.0 core:move-right (atom-text-editor.editor.is-focused)
     -1:33.4.0 settings-view:open (atom-text-editor.editor.is-focused)
     -1:32.2.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -1:32.2.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -1:31.4.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -1:31.4.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -1:30.6.0 core:close (atom-text-editor.editor.mini.is-focused)
     -1:28.7.0 core:save (atom-text-editor.editor.is-focused)
     -1:27.6.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
     -1:25.9.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -1:25.9.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -1:24.9.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -1:21.7.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -1:19 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -1:19 core:cancel (atom-text-editor.editor.mini.is-focused)
     -1:16.1.0 git-time-machine:toggle (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "closeEmptyWindows": false,
    "disabledPackages": [
      "Handlebars",
      "open-last-project",
      "flex-tool-bar",
      "tabs-to-spaces"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "Thumbs.db",
      ".gitkeep",
      "~",
      ".gitignore",
      ".imdone",
      "tmp",
      "node_modules",
      "._.DS_Store",
      "schema-data.json"
    ],
    "themes": [
      "one-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.5.1
atom-language-avro, v0.0.13
better-handlebars, v0.1.1
custom-folds, v1.5.2
file-icons, v1.6.20
fold-functions, v0.4.3
git-time-machine, v1.4.1
highlight-selected, v0.11.2
imdone-atom, v1.3.29
jsonpp, v0.1.1
minimap, v4.21.0
minimap-highlight-selected, v4.4.0
pigments, v0.26.0

# Dev
No dev packages

Uncaught Error: EPERM: operation not permitted, write

When I try to use the toggle I get the EPERM error.
Tried running as admin but still the same issue.

Atom Version: 1.5.3
System: Microsoft Windows 8.1 Pro
Thrown From: git-time-machine package, v1.2.5

Stack Trace

Uncaught Error: EPERM: operation not permitted, write

At fs.js:663

Error: EPERM: operation not permitted, write
    at Error (native)
    at Object.fs.writeSync (fs.js:663:20)
    at SyncWriteStream.write (fs.js:1981:6)
    at Object.execSync (child_process.js:491:20)
    at Function.module.exports.GitLogUtils._fetchFileHistory (C:\Users\michael.withagen\.atom\packages\git-time-machine\node_modules\git-log-utils\lib\git-log-utils.js:58:27)
    at Function.module.exports.GitLogUtils.getCommitHistory (C:\Users\michael.withagen\.atom\packages\git-time-machine\node_modules\git-log-utils\lib\git-log-utils.js:39:21)
    at GitTimeMachineView.module.exports.GitTimeMachineView._renderTimeline (file:///C:/Users/michael.withagen/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:65:22)
    at GitTimeMachineView.module.exports.GitTimeMachineView.render (file:///C:/Users/michael.withagen/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:32:8)
    at GitTimeMachineView.module.exports.GitTimeMachineView.setEditor (file:///C:/Users/michael.withagen/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:24:6)
    at Object.module.exports.GitTimeMachine._onDidChangeActivePaneItem (file:///C:/Users/michael.withagen/.atom/packages/git-time-machine/lib/git-time-machine.coffee:44:25)
    at file:///C:/Users/michael.withagen/.atom/packages/git-time-machine/lib/git-time-machine.coffee:18:59
    at Function.module.exports.Emitter.simpleDispatch (C:\ProgramData\michael.withagen\atom\app-1.5.3\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\ProgramData\michael.withagen\atom\app-1.5.3\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
    at C:\ProgramData\michael.withagen\atom\app-1.5.3\resources\app.asar\src\pane-container.js:333:27
    at Function.module.exports.Emitter.simpleDispatch (C:\ProgramData\michael.withagen\atom\app-1.5.3\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\ProgramData\michael.withagen\atom\app-1.5.3\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (C:\ProgramData\michael.withagen\atom\app-1.5.3\resources\app.asar\src\pane.js:248:22)
    at Pane.module.exports.Pane.activateItem (C:\ProgramData\michael.withagen\atom\app-1.5.3\resources\app.asar\src\pane.js:327:21)
    at atom-tabs.TabBarView.onMouseDown (C:\ProgramData\michael.withagen\atom\app-1.5.3\resources\app.asar\node_modules\tabs\lib\tab-bar-view.js:670:19)

Commands

  2x -3:06.4.0 pane:reopen-closed-item (atom-text-editor.editor.is-focused)
     -2:51.5.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -2:48.1.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -2:47.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  2x -2:47.8.0 git-time-machine:toggle (atom-text-editor.editor)
     -1:59.8.0 editor:newline (atom-text-editor.editor.is-focused)
     -1:58.4.0 core:save (atom-text-editor.editor.is-focused)
  2x -1:53.1.0 core:undo (atom-text-editor.editor.is-focused)
     -1:52 core:save (atom-text-editor.editor.is-focused)
     -1:50 git-plus:menu (atom-text-editor.editor.is-focused)
     -1:47.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:46.3.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -1:46.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:39.8.0 git-plus:menu (atom-text-editor.editor.is-focused)
  2x -1:38.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "goto"
    ],
    "ignoredNames": [
      ".sass-cache",
      "bin",
      "bower_components",
      "node_modules",
      "obj",
      "publish_files",
      "temp"
    ],
    "openEmptyEditorOnStart": false,
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
atom-pair, v2.0.10
autocomplete-modules, v1.4.1
bottom-dock, v0.3.7
file-icons, v1.6.15
git-diff-details, v0.23.0
git-plus, v5.13.0
grunt-manager, v0.1.15
language-cshtml, v0.1.1
language-powershell, v2.1.0
linter, v1.11.3
linter-jscs, v3.4.6
linter-jshint, v2.0.2
linter-scss-lint, v2.5.1
minimap, v4.19.0
minimap-find-and-replace, v4.4.0
Sublime-Style-Column-Selection, v1.5.1
tree-view-git-status, v0.2.3

# Dev
No dev packages

Failed to load the git-time-machine package

[Enter steps to reproduce below:]

  1. Happens as soon as I open atom.

Atom Version: 1.6.1
System: Mac OS X 10.11.3
Thrown From: git-time-machine package, v1.4.1

Stack Trace

Failed to load the git-time-machine package

At '../node_modules/split-diff/styles/split-diff.less' wasn't found in /Users/tim_henigan/.atom/packages/git-time-machine/styles/git-time-machine.less:6:0

LessError: '../node_modules/split-diff/styles/split-diff.less' wasn't found
  at /Users/tim_henigan/.atom/packages/git-time-machine/styles/git-time-machine.less:6:0

Commands

Config

{
  "core": {}
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.5.1
highlight-line, v0.11.1
highlight-selected, v0.11.2
language-tcl, v0.1.2
linter, v1.11.4
linter-pep8, v1.2.1
minimap, v4.21.0
minimap-highlight-selected, v4.4.0
open-recent, v5.0.0
symbol-gen, v1.0.0
symbols-tree-view, v0.11.0
vim-mode, v0.65.0

# Dev
No dev packages

Changlog is out of date

I think it would be beneficial to list of summary of changes when a new version is released :)

Thanks for the awesome plugin btw ๐Ÿ‘

Lazy Load Timeline

I was thinking that this package could lazily obtain the git log only on render, rather than every time the pane is changed.

The use case I'm thinking of might be pretty common. I personally have the timeline hidden unless I need it. However, from what I see, this package gets the git history every time the pane is switched, regardless of whether the timeline is hidden or not. I notice that opening a file or changing panes is a bit slower because of calls to get the git log. By getting the data only when the timeline view is already open or newly open might improve performance for these use cases.

Let me know what you think. I'll probably make these changes locally, and see how it works. If it makes performance any better, I'll be glad to submit a PR.

Thanks for creating this package. It's introduced a lot of great features!

Selecting/Deselecting a file not in a git repo generates error dialogs.

[Enter steps to reproduce below:]

  1. Click into or out of a tab containing a file that is not in a git repo.

With to tabbed panes open with many files from git repos, I opened another file not in a repo, then started seeing this error. Moving the file under a git repo folder made it stop happening.

Atom Version: 1.5.4
System: Mac OS X 10.11.3
Thrown From: git-time-machine package, v1.2.5

Stack Trace

Uncaught Error: Command failed: cd /Users/bedge/aws/scripts && git log --pretty='format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at, #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}' --topo-order --date=local --numstat /Users/bedge/aws/scripts/vpc_peer_to_workspace.sh
fatal: Not a git repository (or any of the parent directories): .git

At child_process.js:496

Error: Command failed: cd /Users/bedge/aws/scripts && git log --pretty='format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at,  #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}' --topo-order --date=local --numstat /Users/bedge/aws/scripts/vpc_peer_to_workspace.sh
fatal: Not a git repository (or any of the parent directories): .git

    at checkExecSyncError (child_process.js:453:13)
    at Object.execSync (child_process.js:493:13)
    at Function.module.exports.GitLogUtils._fetchFileHistory (/Users/bedge/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:58:27)
    at Function.module.exports.GitLogUtils.getCommitHistory (/Users/bedge/.atom/packages/git-time-machine/node_modules/git-log-utils/lib/git-log-utils.js:39:21)
    at GitTimeMachineView.module.exports.GitTimeMachineView._renderTimeline (/Users/bedge/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:65:22)
    at GitTimeMachineView.module.exports.GitTimeMachineView.render (/Users/bedge/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:32:8)
    at GitTimeMachineView.module.exports.GitTimeMachineView.setEditor (/Users/bedge/.atom/packages/git-time-machine/lib/git-time-machine-view.coffee:24:6)
    at Object.module.exports.GitTimeMachine._onDidChangeActivePaneItem (/Users/bedge/.atom/packages/git-time-machine/lib/git-time-machine.coffee:44:25)
    at /Users/bedge/.atom/packages/git-time-machine/lib/git-time-machine.coffee:18:59
    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 /Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:333:27
    at Pane.module.exports.Pane.observeActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:196:7)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:331:42
    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 PaneContainer.module.exports.PaneContainer.setActivePane (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:196:22)
    at Pane.module.exports.Pane.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:634:15)
    at Pane.module.exports.Pane.focus (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:207:21)
    at atom-pane.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-element.js:50:23)

Commands

  2x -1:20.2.0 find-and-replace:find-next (atom-text-editor.editor.is-focused)
     -1:05.9.0 find-and-replace:show (atom-text-editor.editor.is-focused)
     -1:03.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:01.4.0 core:move-down (atom-text-editor.editor.mini.is-focused)
  2x -1:01.0 core:move-up (atom-text-editor.editor.mini.is-focused)
  2x -1:00.4.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -1:00.1.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -1:00.1.0 core:cancel (atom-text-editor.editor.mini.is-focused)
  3x -0:59.7.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:58 find-and-replace:show (atom-text-editor.editor.is-focused)
     -0:56.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:55.7.0 core:move-to-bottom (atom-text-editor.editor.mini.is-focused)
     -0:54.9.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:54.9.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:54.7.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:54.3.0 core:move-to-bottom (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "symbols-view",
      "wrap-guide",
      "atom-ctags",
      "file-header"
    ],
    "packagesWithKeymapsDisabled": [],
    "projectHome": "/Users/bedge/git",
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.5.1
atom-beautify, v0.28.26
atom-html-preview, v0.1.16
atom-yamljson, v0.2.3
color-picker, v2.1.1
color-tabs, v0.1.8
colorful-json, v1.0.0
compare-files, v0.6.2
docblockr, v0.7.3
file-types, v0.5.1
git-blame, v0.4.8
git-diff-details, v0.23.0
git-history, v3.2.0
git-log, v0.4.1
git-status, v0.3.4
git-time-machine, v1.2.5
highlight-column, v0.5.1
highlight-line, v0.11.1
highlight-selected, v0.11.2
json-schema, v0.1.15
jsonlint, v1.1.2
language-crontab, v0.2.1
language-gradle, v0.0.3
language-groovy, v0.5.0
language-tmux, v0.4.0
last-cursor-position, v0.9.0
linter, v1.11.3
linter-javac, v1.8.1
linter-js-yaml, v1.2.5
linter-jsonlint, v1.1.6
linter-package-json-validator, v1.0.1
linter-python-pep8, v0.2.0
linter-python-pyflakes, v0.1.0
linter-shellcheck, v1.1.0
local-history, v3.2.3
markdown-mindmap, v0.2.4
minimap, v4.20.0
minimap-bookmarks, v0.3.0
minimap-codeglance, v0.4.5
minimap-find-and-replace, v4.5.0
minimap-git-diff, v4.2.0
minimap-highlight-selected, v4.4.0
minimap-linter, v1.1.1
minimap-pigments, v0.2.0
minimap-selection, v4.4.0
multi-wrap-guide, v0.23.5
multirow-tabs, v0.3.3
open-recent, v5.0.0
package-sync, v1.0.0
pigments, v0.24.5
pretty-json, v0.4.1
quick-highlight, v0.3.10
select-rectangle, v1.0.2
tabs-to-spaces, v1.0.2
tree-view-git-modified, v0.6.2
tree-view-git-status, v0.2.3

# Dev
No dev packages

Some Diff highlights don't extend throughout the whole length of a line

Don't know if this is intentional, but when comparing diffs with long lines that take up multiple line spaces, only the first line is highlighted but not the rest of the overflown parts of the line.

diffs with long lines that take up multiple line spaces

So in the Image you see a diff between two different versions of text that I'm working on. The paragraphs on the left are all new additions, yet, they are not highlighted. Notice how all the lines that have line numbers are highlighted and those that have dots, are not.

Uncaught TypeError: Cannot read property 'text' of undefined

[Enter steps to reproduce below:]

  1. Not sure how to consistently reproduce. I just clicked on a commit entry and got the exception.

Atom Version: 1.6.1
System: Mac OS X 10.11.4
Thrown From: git-time-machine package, v1.4.1

Stack Trace

Uncaught TypeError: Cannot read property 'text' of undefined

At /Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1321

TypeError: Cannot read property 'text' of undefined
    at DisplayBuffer.module.exports.DisplayBuffer.findMaxLineLength (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1321:28)
    at DisplayBuffer.module.exports.DisplayBuffer.updateScreenLines (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1217:12)
    at DisplayBuffer.module.exports.DisplayBuffer.updateAllScreenLines (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:250:19)
    at DiffViewEditor.setLineOffsets (/Users/bsegraves/.atom/packages/git-time-machine/node_modules/split-diff/lib/build-lines.js:51:32)
    at Object.module.exports.SplitDiff.displayDiff (/Users/bsegraves/.atom/packages/git-time-machine/node_modules/split-diff/lib/split-diff.coffee:201:22)
    at Object.module.exports.SplitDiff.updateDiff (/Users/bsegraves/.atom/packages/git-time-machine/node_modules/split-diff/lib/split-diff.coffee:117:6)
    at Function.module.exports.GitRevisionView._splitDiff (/Users/bsegraves/.atom/packages/git-time-machine/lib/git-revision-view.coffee:147:15)
    at /Users/bsegraves/.atom/packages/git-time-machine/lib/git-revision-view.coffee:106:8
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:666:47

Commands

     -3:35.4.0 pane:show-item-1 (atom-text-editor.editor.is-focused)
     -3:31.4.0 pane:show-item-3 (atom-text-editor.editor.is-focused)
     -3:24 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
     -3:23.6.0 core:save (atom-text-editor.editor.is-focused)
     -2:48.8.0 imdone-atom:tasks (atom-text-editor.editor.is-focused)
     -2:40.6.0 core:close (div.imdone-atom.pane-item)
     -2:34 editor:transpose (atom-text-editor.editor.is-focused)
  2x -2:31.3.0 core:undo (atom-text-editor.editor.is-focused)
     -2:18.3.0 timecop:view (atom-text-editor.editor.is-focused)
     -1:17.6.0 pane:show-item-1 (atom-text-editor.editor.is-focused)
     -0:52.3.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  3x -0:49.2.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:47.4.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:47.1.0 core:move-up (atom-text-editor.editor.mini.is-focused)
     -0:41.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:41.6.0 git-time-machine:toggle (atom-text-editor.editor)

Config

{
  "core": {
    "closeEmptyWindows": false,
    "disabledPackages": [
      "Handlebars",
      "open-last-project",
      "flex-tool-bar",
      "tabs-to-spaces"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "Thumbs.db",
      ".gitkeep",
      "~",
      ".gitignore",
      ".imdone",
      "tmp",
      "node_modules",
      "._.DS_Store",
      "schema-data.json"
    ],
    "themes": [
      "one-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.5.1
atom-language-avro, v0.0.13
better-handlebars, v0.1.1
custom-folds, v1.5.2
file-icons, v1.6.20
fold-functions, v0.4.3
git-time-machine, v1.4.1
highlight-selected, v0.11.2
imdone-atom, v1.3.29
jsonpp, v0.1.1
minimap, v4.21.0
minimap-highlight-selected, v4.4.0
pigments, v0.26.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.