View previous versions of any file known to git. By default, the plugin will now show a diff with the selected version. This can be disabled in the settings.
apm install git-history
View previous versions of any file known to git.
Home Page: https://atom.io/packages/git-history
License: MIT License
[Enter steps to reproduce:]
Atom: 1.24.0 x64
Electron: 1.6.16
OS: Mac OS X 10.12.6
Thrown From: git-history package 3.3.0
Uncaught SyntaxError: Unexpected token in JSON at position 180
At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html:1
SyntaxError: Unexpected token in JSON at position 180
at JSON.parse (<anonymous>)
at stdout (/packages/git-history/lib/git-history-view.coffee:47:13)
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:212:17)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at Pipe.onread (net.js:551:20)
-1:27.4.0 welcome:show (atom-pane.pane.active)
-1:08.7.0 git-history:show-file-history (input.hidden-input)
-0:19.1.0 find-and-replace:clear-history (input.hidden-input)
-0:15 git-history:show-file-history (input.hidden-input)
atom-beautify 0.30.9
git-history 3.3.0
hyperclick 0.1.5
js-hyperclick 1.13.0
php-cs-fixer 4.1.1
php-hyperclick 1.2.1
[Enter steps to reproduce:]
Atom: 1.34.0 x64
Electron: 3.1.4
OS: "Arch Linux"
Thrown From: git-history package 3.3.0
Uncaught Callback must be a function
At fs.js:165
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at makeCallback (fs.js:165:11)
at Object.fs.mkdir (fs.js:854:14)
at /packages/git-history/lib/git-history-view.coffee:104:20
at triggerExitCallback (/usr/lib/atom/src/buffered-process.js:258:9)
at bufferStream (/usr/lib/atom/src/buffered-process.js:271:9)
at Socket.stream.on (/usr/lib/atom/src/buffered-process.js:155:7)
at Socket.emit (events.js:187:15)
at Pipe._handle.close [as _onclose] (net.js:596:12)
-6:02.6.0 core:save (input.hidden-input)
-6:01.7.0 core:backspace (input.hidden-input)
-6:01.5.0 core:save (input.hidden-input)
-5:54.3.0 editor:join-lines (input.hidden-input)
-5:53.3.0 core:undo (input.hidden-input)
-5:51.4.0 git-history:show-file-history (input.hidden-input)
-5:48.1.0 core:move-down (input.hidden-input)
-5:47.5.0 core:move-up (input.hidden-input)
-5:47.2.0 core:confirm (input.hidden-input)
-5:45.3.0 editor:consolidate-selections (input.hidden-input)
-5:45.3.0 core:cancel (input.hidden-input)
-5:29 git-history:show-file-history (input.hidden-input)
-5:28.2.0 core:move-down (input.hidden-input)
-5:27.9.0 core:confirm (input.hidden-input)
-1:04.1.0 git-history:show-file-history (input.hidden-input)
-1:02.6.0 core:confirm (input.hidden-input)
angular-2-typeScript-snippets 0.7.0
angular-snippets 7.0.5
ariake-dark-syntax 0.1.3
ask-stack 2.2.0
atom-bracket-highlight 0.3.2
atom-dark-fusion-syntax 2.2.1
atom-hipster-ui 0.3.0
atom-ide-debugger-node 0.7.3
atom-ide-ui 0.13.0
atom-material-syntax 1.0.8
atom-material-syntax-dark 1.0.0
atom-material-syntax-light 0.4.6
atom-material-ui 2.1.3
atom-meld 0.3.5
atom-monokai 0.10.9
atom-monokai-flat 3.0.0
atom-slack-snippets 0.2.0
atom-typescript 13.1.0
base16-atelierdune-dark-syntax 2.0.3
batman-syntax 1.1.0
brogrammer-syntax 1.0.0
brogrammer-ui 1.0.0
bumblebee-syntax 1.0.0
charcode-display 0.2.1
chester-atom-2-syntax 0.4.0
chester-atom-syntax 0.3.2
code-peek 1.4.21
color-picker 2.3.0
dash-ui 0.4.4
dimmed-monokai 0.1.0
docblockr 0.13.7
duotone-dark-forest-syntax 2.1.0
easy-monokai-deuce-syntax 0.3.0
editorconfig 2.3.0
emmet 2.4.3
es6-javascript 1.0.0
fancy-bracket-matcher 2.1.0
file-icons 2.1.30
ganymede-atom-syntax 1.1.1
git-blame 1.8.0
git-history 3.3.0
git-time-machine 2.1.0
glowing-cursor 0.1.2
gruvbox-plus-syntax 1.3.1
highlight-selected 0.14.0
hipster-syntax 0.0.3
hydra-syntax-theme 4.0.1
ide-typescript 0.8.0
improved-chester-atom-syntax 0.3.0
intellij-darcula-syntax 1.0.11
intentions 1.1.5
js-refactor 0.8.1
kimbie-dark 2.0.2
language-diff 0.7.0
language-mongodb 0.3.1
language-patch 1.2.0
language-regexp 1.0.1
material-ui 1.0.10
minimap 4.29.9
minimap-git-diff 4.3.1
minimap-selection 4.5.0
minimap-split-diff 0.3.7
monokai-flat 1.0.1
monokai-flat-ui 4.2.0
monokai-neo-syntax 1.3.2
open-in-browser 0.5.2
pastel-jelly-ui 0.3.0
pen-paper-coffee-syntax 0.17.0
pigments 0.40.2
pinned-tabs 2.1.1
pristine-ui 1.1.11
redeye-ui 0.5.0
refactor 0.11.5
regex-railroad-diagram 0.19.4
simplyy-snippets 0.4.16
split-diff 1.6.0
steam-pirate-ui 0.6.1
svg-preview 0.14.0
sync-settings 0.8.6
twilight-syntax-theme 0.1.1
Warm-Dark-syntax 0.1.0
[Enter steps to reproduce:]
Atom: 1.23.1 x64
Electron: 1.6.15
OS: Ubuntu 16.04.3
Thrown From: git-history package 3.3.0
Uncaught SyntaxError: Unexpected token in JSON at position 100
At file:///usr/share/atom/resources/app.asar/static/index.html:1
SyntaxError: Unexpected token in JSON at position 100
at JSON.parse (<anonymous>)
at stdout (/packages/git-history/lib/git-history-view.coffee:47:13)
at Socket.<anonymous> (/usr/share/atom/resources/app/src/buffered-process.js:219:40)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:501:12)
2x -2:24.6.0 core:confirm (input.hidden-input)
-2:20.8.0 tree-view:toggle (input.hidden-input)
2x -2:14.2.0 core:confirm (input.hidden-input)
3x -0:55.2.0 core:cancel (div.panels-item)
-0:50.7.0 command-palette:toggle (div.panels-item)
-0:42.7.0 core:confirm (input.hidden-input)
-0:42.7.0 open-on-github:history (div.panels-item)
-0:39.6.0 intentions:highlight (input.hidden-input)
-0:39.4.0 command-palette:toggle (input.hidden-input)
2x -0:37.8.0 core:backspace (input.hidden-input)
-0:35 core:confirm (input.hidden-input)
-0:35 open-on-github:history (input.hidden-input)
-0:13.1.0 intentions:highlight (input.hidden-input)
-0:12.4.0 command-palette:toggle (input.hidden-input)
-0:09.4.0 core:confirm (input.hidden-input)
-0:09.4.0 git-history:show-file-history (input.hidden-input)
atom-beautify 0.30.9
atom-isort 2.5.3
atom-material-syntax 1.0.8
atom-material-syntax-dark 1.0.0
atom-material-syntax-light 0.4.6
atom-material-ui 2.0.6
autocomplete-clang 0.11.4
autocomplete-python 1.10.5
busy-signal 1.4.3
compare-files 0.8.1
django-templates 0.5.0
docblockr 0.13.4
file-icons 2.1.15
fonts 3.0.3
git-history 3.3.0
git-plus 7.10.0
git-time-machine 1.5.9
highlight-selected 0.13.1
hyperclick 0.1.5
intentions 1.1.5
language-latex 1.1.1
language-markdown 0.25.1
language-matlab 0.2.1
language-restructuredtext 1.1.0
language-tcl 0.1.2
language-verilog 0.4.0
language-vhdl 0.7.2
latexer 0.3.0
licht-theme 0.1.0
linter 2.2.0
linter-clang 4.1.2
linter-matlab 1.1.0
linter-pycodestyle 2.1.3
linter-python-pep8 0.2.0
linter-ui-default 1.6.10
MagicPython 1.0.12
markdown-preview-enhanced 0.15.1
markdown-preview-plus 2.4.16
markdown-themeable-pdf 1.2.0
merge-conflicts 1.4.5
minimap 4.29.7
minimap-bookmarks 0.4.2
minimap-cursorline 0.2.0
minimap-linter 2.1.3
monokai 0.24.0
monokai-seti 0.9.0
multi-cursor 2.1.5
nord-atom-syntax 0.9.1
nord-atom-ui 0.11.0
oceanic-next 1.0.0
pandoc 0.2.2
pdf-view 0.61.0
pen-paper-coffee-syntax 0.14.9
platformio-ide-terminal 2.7.0
print-atom 0.1.1
project-manager 3.3.5
python-debugger 0.2.0
python-tools 0.6.9
python-yapf 0.14.0
pythonic-atom 0.2.9
remote-atom 1.3.11
rst-preview-pandoc 0.1.12
script 3.17.3
seti-ui 1.9.0
sombre-theme 1.0.0
structure-view 0.2.1
svg-preview 0.12.1
symbols-list 2.4.1
symbols-navigator 1.3.0
symbols-tree-nav 0.15.5
symbols-tree-view 0.14.0
symbols-view-plus 0.117.0-plus.1
terminal-plus 0.14.5
todo-show 2.1.0
wordcount 2.10.4
zenburn 3.1.0
[Enter steps to reproduce below:]
Atom Version: 0.174.0
System: linux 3.16.0-29-generic
Thrown From: git-history package, v1.1.3
Uncaught SyntaxError: Unexpected token m
At file:///usr/share/atom/resources/app/static/index.html?loadSettings=%7B%22pathToOpen%22%3A%22%2Fvar%2Fwww%2Fhtml%2Fdolphin%22%2C%22bootstrapScript%22%3A%22%2Fusr%2Fshare%2Fatom%2Fresources%2Fapp%2Fsrc%2Fwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22%2Fusr%2Fshare%2Fatom%2Fresources%2Fapp%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22appVersion%22%3A%220.174.0%22%2C%22initialPath%22%3A%22%2Fvar%2Fwww%2Fhtml%2Fdolphin%22%7D:2
SyntaxError: Unexpected token m
at Object.parse (native)
at stdout (/home/obelich/.atom/packages/git-history/lib/git-history-view.coffee:26:13)
at Socket.<anonymous> (/usr/share/atom/resources/app/src/buffered-process.js:137:13)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:161:16)
at Socket.Readable.push (_stream_readable.js:125:10)
at Pipe.onread (net.js:522:20)
2x -2:28.2 core:backspace (atom-text-editor.editor)
-2:25.5 core:save (atom-text-editor.editor)
2x -2:24.2 core:undo (atom-text-editor.editor)
-0:01.8 application:open-file (atom-text-editor.editor)
-0:00.0 git-history:show-file-history (atom-text-editor.editor)
{
"core": {
"disabledPackages": [
"atom-html-preview",
"autocomplete-plus"
],
"themes": [
"seti-ui",
"monokai"
],
"autoHideMenuBar": true
},
"git-history": {}
}
# User
autocomplete-paths, v0.9.1
autocomplete-snippets, v0.3.2
cakephp-snippets, v0.6.0
color-picker, v1.3.0
git-history, v1.1.3
monokai, v0.10.0
robin-language-php, v0.9.0
seti-ui, v0.6.1
# Dev
No dev packages
/cc @atom/core
[Enter steps to reproduce below:]
Atom Version: 1.7.3
System: Ubuntu 14.04.4
Thrown From: git-history package, v3.2.0
Uncaught SyntaxError: Unexpected token
At file:///usr/share/atom/resources/app.asar/static/index.html#%7B%22initialPaths%22%3A%5B%22%2Fhome%2Fasaf%2FTPWebsite%2Fwebsite%22%2C%22%2Fhome%2Fasaf%2Ftrulyprotect%22%5D%2C%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2Fhome%2Fasaf%2FTPWebsite%2Fwebsite%22%2C%22initialLine%22%3Anull%2C%22initialColumn%22%3Anull%2C%22forceAddToWindow%22%3Afalse%7D%2C%7B%22pathToOpen%22%3A%22%2Fhome%2Fasaf%2Ftrulyprotect%22%2C%22initialLine%22%3Anull%2C%22initialColumn%22%3Anull%2C%22forceAddToWindow%22%3Afalse%7D%5D%2C%22windowInitializationScript%22%3A%22%2Fusr%2Fshare%2Fatom%2Fresources%2Fapp.asar%2Fsrc%2Finitialize-application-window.js%22%2C%22resourcePath%22%3A%22%2Fusr%2Fshare%2Fatom%2Fresources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22profileStartup%22%3Afalse%2C%22clearWindowState%22%3Afalse%2C%22env%22%3A%7B%22GNOME_KEYRING_PID%22%3A%22%22%2C%22USER%22%3A%22asaf%22%2C%22_system_version%22%3A%2214.04%22%2C%22LANGUAGE%22%3A%22en_US%22%2C%22LC_TIME%22%3A%22en_US.UTF-8%22%2C%22XDG_SEAT%22%3A%22seat0%22%2C%22TEXTDOMAIN%22%3A%22im-config%22%2C%22COMPIZ_CONFIG_PROFILE%22%3A%22ubuntu%22%2C%22SESSION%22%3A%22ubuntu%22%2C%22SHLVL%22%3A%220%22%2C%22HOME%22%3A%22%2Fhome%2Fasaf%22%2C%22QT4_IM_MODULE%22%3A%22xim%22%2C%22DESKTOP_SESSION%22%3A%22ubuntu%22%2C%22GTK_MODULES%22%3A%22overlay-scrollbar%3Aunity-gtk-module%22%2C%22XDG_SEAT_PATH%22%3A%22%2Forg%2Ffreedesktop%2FDisplayManager%2FSeat0%22%2C%22LC_MONETARY%22%3A%22en_US.UTF-8%22%2C%22INSTANCE%22%3A%22%22%2C%22DBUS_SESSION_BUS_ADDRESS%22%3A%22unix%3Aabstract%3D%2Ftmp%2Fdbus-acQK89jsDZ%22%2C%22GNOME_KEYRING_CONTROL%22%3A%22%2Frun%2Fuser%2F1000%2Fkeyring-3m4o3F%22%2C%22QT_QPA_PLATFORMTHEME%22%3A%22appmenu-qt5%22%2C%22MANDATORY_PATH%22%3A%22%2Fusr%2Fshare%2Fgconf%2Fubuntu.mandatory.path%22%2C%22IM_CONFIG_PHASE%22%3A%221%22%2C%22SESSIONTYPE%22%3A%22gnome-session%22%2C%22LOGNAME%22%3A%22asaf%22%2C%22GTK_IM_MODULE%22%3A%22ibus%22%2C%22rvm_bin_path%22%3A%22%2Fhome%2Fasaf%2F.rvm%2Fbin%22%2C%22IRBRC%22%3A%22%2Fhome%2Fasaf%2F.rvm%2Frubies%2Fruby-2.2.1%2F.irbrc%22%2C%22DEFAULTS_PATH%22%3A%22%2Fusr%2Fshare%2Fgconf%2Fubuntu.default.path%22%2C%22RUBY_VERSION%22%3A%22ruby-2.2.1%22%2C%22XDG_SESSION_ID%22%3A%22c1%22%2C%22GNOME_DESKTOP_SESSION_ID%22%3A%22this-is-deprecated%22%2C%22PATH%22%3A%22%2Fhome%2Fasaf%2F.rvm%2Fgems%2Fruby-2.2.1%2Fbin%3A%2Fhome%2Fasaf%2F.rvm%2Fgems%2Fruby-2.2.1%40global%2Fbin%3A%2Fhome%2Fasaf%2F.rvm%2Frubies%2Fruby-2.2.1%2Fbin%3A%2Fhome%2Fasaf%2Fbin%3A%2Fhome%2Fasaf%2Fdevel%2Ftoolchains%2Fgcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux%2Fbin%3A%2Fhome%2Fasaf%2Fbin%3A%2Fusr%2Flocal%2Fsbin%3A%2Fusr%2Flocal%2Fbin%3A%2Fusr%2Fsbin%3A%2Fusr%2Fbin%3A%2Fsbin%3A%2Fbin%3A%2Fusr%2Fgames%3A%2Fusr%2Flocal%2Fgames%3A%2Fhome%2Fasaf%2F.rvm%2Fbin%22%2C%22GDM_LANG%22%3A%22en_US%22%2C%22PAPERSIZE%22%3A%22letter%22%2C%22SELINUX_INIT%22%3A%22YES%22%2C%22LC_ADDRESS%22%3A%22en_US.UTF-8%22%2C%22XDG_SESSION_PATH%22%3A%22%2Forg%2Ffreedesktop%2FDisplayManager%2FSession0%22%2C%22XDG_RUNTIME_DIR%22%3A%22%2Frun%2Fuser%2F1000%22%2C%22MY_RUBY_HOME%22%3A%22%2Fhome%2Fasaf%2F.rvm%2Frubies%2Fruby-2.2.1%22%2C%22DISPLAY%22%3A%22%3A0%22%2C%22LC_TELEPHONE%22%3A%22en_US.UTF-8%22%2C%22LANG%22%3A%22en_US.UTF-8%22%2C%22XDG_CURRENT_DESKTOP%22%3A%22Unity%22%2C%22XMODIFIERS%22%3A%22%40im%3Dibus%22%2C%22XAUTHORITY%22%3A%22%2Fhome%2Fasaf%2F.Xauthority%22%2C%22XDG_GREETER_DATA_DIR%22%3A%22%2Fvar%2Flib%2Flightdm-data%2Fasaf%22%2C%22SSH_AUTH_SOCK%22%3A%22%2Frun%2Fuser%2F1000%2Fkeyring-3m4o3F%2Fssh%22%2C%22SHELL%22%3A%22%2Fbin%2Fbash%22%2C%22LC_NAME%22%3A%22en_US.UTF-8%22%2C%22rvm_prefix%22%3A%22%2Fhome%2Fasaf%22%2C%22GDMSESSION%22%3A%22ubuntu%22%2C%22GEM_HOME%22%3A%22%2Fhome%2Fasaf%2F.rvm%2Fgems%2Fruby-2.2.1%22%2C%22_system_type%22%3A%22Linux%22%2C%22LC_MEASUREMENT%22%3A%22en_US.UTF-8%22%2C%22LC_IDENTIFICATION%22%3A%22en_US.UTF-8%22%2C%22rvm_version%22%3A%221.26.11%20(latest)%22%2C%22TEXTDOMAINDIR%22%3A%22%2Fusr%2Fshare%2Flocale%2F%22%2C%22GPG_AGENT_INFO%22%3A%22%2Frun%2Fuser%2F1000%2Fkeyring-3m4o3F%2Fgpg%3A0%3A1%22%2C%22UPSTART_SESSION%22%3A%22unix%3Aabstract%3D%2Fcom%2Fubuntu%2Fupstart-session%2F1000%2F1915%22%2C%22XDG_VTNR%22%3A%227%22%2C%22QT_IM_MODULE%22%3A%22ibus%22%2C%22_system_arch%22%3A%22x86_64%22%2C%22PWD%22%3A%22%2Fhome%2Fasaf%22%2C%22GEM_PATH%22%3A%22%2Fhome%2Fasaf%2F.rvm%2Fgems%2Fruby-2.2.1%3A%2Fhome%2Fasaf%2F.rvm%2Fgems%2Fruby-2.2.1%40global%22%2C%22CLUTTER_IM_MODULE%22%3A%22xim%22%2C%22XDG_CONFIG_DIRS%22%3A%22%2Fetc%2Fxdg%2Fxdg-ubuntu%3A%2Fusr%2Fshare%2Fupstart%2Fxdg%3A%2Fetc%2Fxdg%22%2C%22XDG_DATA_DIRS%22%3A%22%2Fusr%2Fshare%2Fubuntu%3A%2Fusr%2Fshare%2Fgnome%3A%2Fusr%2Flocal%2Fshare%2F%3A%2Fusr%2Fshare%2F%22%2C%22LC_NUMERIC%22%3A%22en_US.UTF-8%22%2C%22_system_name%22%3A%22Ubuntu%22%2C%22LC_PAPER%22%3A%22en_US.UTF-8%22%2C%22rvm_path%22%3A%22%2Fhome%2Fasaf%2F.rvm%22%2C%22JOB%22%3A%22dbus%22%2C%22XDG_MENU_PREFIX%22%3A%22gnome-%22%2C%22SESSION_MANAGER%22%3A%22local%2Fasaf-Lenovo-G580%3A%40%2Ftmp%2F.ICE-unix%2F2106%2Cunix%2Fasaf-Lenovo-G580%3A%2Ftmp%2F.ICE-unix%2F2106%22%2C%22GIO_LAUNCHED_DESKTOP_FILE%22%3A%22%2Fusr%2Fshare%2Fapplications%2Fatom.desktop%22%2C%22GIO_LAUNCHED_DESKTOP_FILE_PID%22%3A%2219447%22%2C%22COMPIZ_BIN_PATH%22%3A%22%2Fusr%2Fbin%2F%22%2C%22GOOGLE_API_KEY%22%3A%22AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q%22%2C%22CHROME_DESKTOP%22%3A%22Atom.desktop%22%2C%22ATOM_HOME%22%3A%22%2Fhome%2Fasaf%2F.atom%22%7D%2C%22appVersion%22%3A%221.7.3%22%2C%22atomHome%22%3A%22%2Fhome%2Fasaf%2F.atom%22%2C%22shellLoadTime%22%3A1874%7D:1
SyntaxError: Unexpected token
at Object.parse (native)
at stdout (/home/asaf/.atom/packages/git-history/lib/git-history-view.coffee:46:13)
at Socket.<anonymous> (/usr/share/atom/resources/app.asar/src/buffered-process.js:87:13)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:110:10)
at Pipe.onread (net.js:523:20)
9x -1:12.4.0 core:move-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
46x -1:10.7.0 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-1:07.7.0 tree-view:toggle-vcs-ignored-files (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-1:05.9.0 tree-view:expand-item (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
6x -1:05.2.0 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-1:03.1.0 tree-view:toggle-vcs-ignored-files (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-1:02.5.0 tree-view:expand-item (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
8x -1:01.2.0 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
2x -0:59.6.0 application:open-file (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
2x -0:54.4.0 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:53.7.0 core:page-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
3x -0:53.2.0 core:page-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
3x -0:49.8.0 tree-view:move (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:37.7.0 tree-view:duplicate (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
4x -0:33.3.0 core:page-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
2x -0:24.9.0 git-history:show-file-history (atom-text-editor.editor.is-focused)
{
"core": {
"autoHideMenuBar": true
},
"git-history": {
"showDiff": false
}
}
# User
color-picker, v2.1.1
git-diff-details, v1.3.0
git-history, v3.2.0
git-plus, v5.13.4
merge-conflicts, v1.4.2
split-diff, v0.8.1
# Dev
No dev packages
Would love the ablity to open the current file and an older in an external difftool, ie
Git History: File history DiffTool
(idk im not really good at names)
then you select the version you want (like with Git History: Show File History
)
then it opens it in your difftool of choice set it settings with ie meld {current} {old}
Atom: 1.20.1 x64
Electron: 1.6.9
OS: Microsoft Windows 7 Professional
Thrown From: git-history package 3.3.0
Uncaught SyntaxError: Unexpected token in JSON at position 212
At file:///C:/Users/caop/AppData/Local/atom/app-1.20.1/resources/app/static/index.html:1
SyntaxError: Unexpected token in JSON at position 212
at JSON.parse (<anonymous>)
at stdout (/packages/git-history/lib/git-history-view.coffee:47:13)
at Socket.<anonymous> (~/AppData/Local/atom/app-1.20.1/resources/app/src/buffered-process.js:212:17)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at Pipe.onread (net.js:551:20)
-2:52.1.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
-0:41.6.0 intentions:highlight (input.hidden-input)
-0:41.5.0 command-palette:toggle (input.hidden-input)
3x -0:40.5.0 core:backspace (input.hidden-input)
3x -0:36.8.0 core:move-down (input.hidden-input)
-0:35.7.0 core:confirm (input.hidden-input)
-0:35.6.0 git-history:show-file-history (input.hidden-input)
activate-power-mode 2.5.0
atom-ide-ui 0.3.3
atom-material-syntax 1.0.6
atom-material-ui 2.0.4
atomic-chrome 0.3.2
busy-signal 1.4.3
editor-stats 0.17.0
file-icons 2.1.11
git-blame 1.2.2
git-diff-details 1.4.0
git-history 3.3.0
git-time-machine 1.5.9
hey-pane 1.0.0
highlight-selected 0.13.1
ide-typescript 0.1.6
intentions 1.1.5
language-gherkin 1.0.4
language-gradle 0.0.3
language-groovy 0.7.0
line-diff-details 1.9.0
lines 0.13.1
linter 2.2.0
linter-eslint 8.2.1
linter-ui-default 1.6.10
merge-conflicts 1.4.5
minimap 4.29.6
minimap-bookmarks 0.4.2
minimap-cursorline 0.2.0
minimap-git-diff 4.3.1
minimap-highlight-selected 4.6.1
minimap-selection 4.5.0
open-recent 5.0.0
project-plus 1.0.0
revert-buffer 0.5.0
split-diff 1.5.1
tab-control 0.6.10
tablr 1.8.3
todo-show 2.0.0
vim-mode-plus 1.6.0
[Enter steps to reproduce:]
Uncaught SyntaxError: Unexpected token in JSON at position 145
At file:///usr/share/atom/resources/app.asar/static/index.html:1
SyntaxError: Unexpected token in JSON at position 145
at Object.parse (native)
at stdout (/packages/git-history/lib/git-history-view.coffee:47:13)
at /app.asar/src/buffered-process.js:196:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at Pipe.onread (net.js:543:20)
-1:14.9.0 editor:consolidate-selections (input.hidden-input)
-1:14.9.0 core:cancel (input.hidden-input)
-1:14.1.0 command-palette:toggle (input.hidden-input)
-1:10.8.0 core:confirm (input.hidden-input)
-1:10.7.0 git-control:toggle (input.hidden-input)
-0:22.8.0 intentions:highlight (input.hidden-input)
-0:22.7.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
-0:21.2.0 editor:consolidate-selections (input.hidden-input)
-0:21.2.0 core:cancel (input.hidden-input)
-0:20.7.0 intentions:highlight (input.hidden-input)
-0:20.5.0 command-palette:toggle (input.hidden-input)
-0:14.6.0 core:move-down (input.hidden-input)
-0:13.2.0 core:confirm (input.hidden-input)
-0:13.2.0 git-history:show-file-history (input.hidden-input)
-0:10.8.0 editor:consolidate-selections (input.hidden-input)
-0:10.8.0 core:cancel (input.hidden-input)
advanced-open-file 0.16.6
aligner 0.22.3
aligner-ruby 1.5.0
atom-beautify 0.29.17
atom-jade 0.3.0
build-rake 0.1.1
busy-signal 1.3.0
coffee-autocompile 0.6.2
file-icons 2.1.1
force-tab 0.2.2
git-history 3.3.0
git-log 0.4.1
git-plus 5.16.2
git-time-machine 1.5.9
grunt-runner 0.14.0
increment-selection 0.3.0
intentions 1.1.2
language-coffee-script-angular 2.2.0
language-haml 0.24.1
language-jade 0.7.2
language-markdown 0.20.0
language-pug 0.0.21
linter 2.1.2
linter-coffees6 2.0.0
linter-pug 1.3.1
linter-ruby 1.2.5
linter-ui-default 1.2.2
run-command2 1.12.2
sort-lines 0.14.0
Stylus 3.1.0
tree-view-git-branch 0.1.2
Atom version 0.132.0
git-history version 1.1.2
I just installed this promising looking package but it doesn't really seem to work. For every file I try it on (all with a long git history, trust me), it simply says "No history found for filename"
Does it maintain its own internal history and can only show changes since the time I install it? I would assume that not to be the case (as it would drastically reduce the utility of such a package). This just appears to be a bug, possibly an incompatibility with the latest version of Atom? Or, am I doing something wrong?
Thank you, the package looks awesome. Hoping I can get it working here as I've been wanting a quick way to side-by-side file histories for a while now.
When doing git show file history on a file, I get this error.
Atom Version: 1.8.0
System: Mac OS X 10.11.5
Thrown From: git-history package, v3.2.0
Uncaught SyntaxError: Unexpected token ๏ฟฝ
At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22initialPaths%22%3A%5B%22%2FUsers%2Fbuijs%2FProjects%2FYoungCapital%2Fcapitalizr%22%5D%2C%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2FUsers%2Fbuijs%2FProjects%2FYoungCapital%2Fcapitalizr%22%2C%22initialLine%22%3Anull%2C%22initialColumn%22%3Anull%2C%22forceAddToWindow%22%3Afalse%7D%5D%2C%22windowInitializationScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Finitialize-application-window.js%22%2C%22resourcePath%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22windowDimensions%22%3A%7B%22x%22%3A44%2C%22y%22%3A67%2C%22width%22%3A2165%2C%22height%22%3A1252%7D%2C%22profileStartup%22%3Afalse%2C%22clearWindowState%22%3Afalse%2C%22env%22%3A%7B%22JAVA_HOME%22%3A%22%2FLibrary%2FJava%2FJavaVirtualMachines%2Fjdk1.8.0_31.jdk%2FContents%2FHome%22%2C%22ITERM_SESSION_ID%22%3A%22w0t2p1%3A33D59D51-26CE-48D7-B5B8-3F7D79843015%22%2C%22TMPDIR%22%3A%22%2Fvar%2Ffolders%2F86%2F85zdfvp16fxc809gfxy4nlhc0000gn%2FT%2F%22%2C%22TERM_PROGRAM%22%3A%22iTerm.app%22%2C%22COLORFGBG%22%3A%227%3B0%22%2C%22__CF_USER_TEXT_ENCODING%22%3A%220x1F5%3A0x0%3A0x0%22%2C%22SHELL%22%3A%22%2Fbin%2Fbash%22%2C%22HOME%22%3A%22%2FUsers%2Fbuijs%22%2C%22RUBYOPT%22%3A%22%22%2C%22_%22%3A%22%2Fusr%2Fbin%2Fopen%22%2C%22DOCKER_CERT_PATH%22%3A%22%2FUsers%2Fbuijs%2F.docker%2Fmachine%2Fmachines%2Fdev%22%2C%22RUBY_VERSION%22%3A%222.3.0%22%2C%22SSH_AUTH_SOCK%22%3A%22%2Fprivate%2Ftmp%2Fcom.apple.launchd.D0SI6KJJxo%2FListeners%22%2C%22CLICOLOR%22%3A%221%22%2C%22GEM_HOME%22%3A%22%2FUsers%2Fbuijs%2F.gem%2Fruby%2F2.3.0%22%2C%22TERM_PROGRAM_VERSION%22%3A%223.0.4%22%2C%22RUBY_ENGINE%22%3A%22ruby%22%2C%22SHLVL%22%3A%222%22%2C%22TERM_SESSION_ID%22%3A%22w0t2p1%3A33D59D51-26CE-48D7-B5B8-3F7D79843015%22%2C%22Apple_PubSub_Socket_Render%22%3A%22%2Fprivate%2Ftmp%2Fcom.apple.launchd.XtqPdBezDh%2FRender%22%2C%22GEM_ROOT%22%3A%22%2FUsers%2Fbuijs%2F.rubies%2Fruby-2.3.0%2Flib%2Fruby%2Fgems%2F2.3.0%22%2C%22EDITOR%22%3A%22atom%20-w%22%2C%22PATH%22%3A%22%2FUsers%2Fbuijs%2F.gem%2Fruby%2F2.3.0%2Fbin%3A%2FUsers%2Fbuijs%2F.rubies%2Fruby-2.3.0%2Flib%2Fruby%2Fgems%2F2.3.0%2Fbin%3A%2FUsers%2Fbuijs%2F.rubies%2Fruby-2.3.0%2Fbin%3A%2FUsers%2Fbuijs%2FProjects%2FYoungCapital%2Fandroid-sdk%2Fplatform-tools%3A%2FUsers%2Fbuijs%2FProjects%2FYoungCapital%2Fandroid-sdk%2Ftools%3A%2FUsers%2Fbuijs%2F.node%2Fbin%3A%2FSystem%2FLibrary%2FFrameworks%2FJavaVM.framework%2FVersions%3A%2FApplications%2FPostgres.app%2FContents%2FMacOS%2Fbin%3A%2Fusr%2Flocal%2Fshare%2Fnpm%2Fbin%3A%2Fusr%2Flocal%2Fheroku%2Fbin%3A%2Fusr%2Flocal%2Fsbin%3A%2Fopt%2Flocal%2Fshare%2Fman%3A%2Fopt%2Flocal%2Fsbin%3A%2Fopt%2Flocal%2Fbin%3A%2Fusr%2Flocal%2Fbin%3A%2Fusr%2Fbin%3A%2Fbin%3A%2Fusr%2Fsbin%3A%2Fsbin%22%2C%22TERM%22%3A%22xterm-256color%22%2C%22DOCKER_HOST%22%3A%22tcp%3A%2F%2F192.168.99.100%3A2376%22%2C%22DOCKER_TLS_VERIFY%22%3A%221%22%2C%22LOGNAME%22%3A%22buijs%22%2C%22RUBY_ROOT%22%3A%22%2FUsers%2Fbuijs%2F.rubies%2Fruby-2.3.0%22%2C%22LC_CTYPE%22%3A%22UTF-8%22%2C%22XPC_SERVICE_NAME%22%3A%22com.github.atom.52512.96F286D4-0A2C-4924-A5DE-7F9787F8AF58%22%2C%22GEM_PATH%22%3A%22%2FUsers%2Fbuijs%2F.gem%2Fruby%2F2.3.0%3A%2FUsers%2Fbuijs%2F.rubies%2Fruby-2.3.0%2Flib%2Fruby%2Fgems%2F2.3.0%22%2C%22DOCKER_MACHINE_NAME%22%3A%22dev%22%2C%22ITERM_PROFILE%22%3A%22Default%22%2C%22USER%22%3A%22buijs%22%2C%22XPC_FLAGS%22%3A%220x0%22%2C%22PWD%22%3A%22%2FUsers%2Fbuijs%2FProjects%2FYoungCapital%2Fcapitalizr%22%2C%22GOOGLE_API_KEY%22%3A%22AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q%22%2C%22ATOM_HOME%22%3A%22%2FUsers%2Fbuijs%2F.atom%22%7D%2C%22appVersion%22%3A%221.8.0%22%2C%22atomHome%22%3A%22%2FUsers%2Fbuijs%2F.atom%22%7D:1
SyntaxError: Unexpected token ๏ฟฝ
at Object.parse (native)
at stdout (/Users/buijs/.atom/packages/git-history/lib/git-history-view.coffee:46:13)
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:87:13)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:110:10)
at Pipe.onread (net.js:523:20)
-0:03.6.0 command-palette:toggle (atom-text-editor.editor.is-focused)
-0:01.1.0 core:move-down (atom-text-editor.editor.mini.is-focused)
-0:00.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:00.8.0 git-history:show-file-history (atom-text-editor.editor)
{
"core": {
"closeEmptyWindows": false,
"disabledPackages": [
"linter-markdown"
],
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
]
},
"git-history": {
"showDiff": false
}
}
# User
Sublime-Style-Column-Selection, v1.5.1
atom-alignment, v0.12.1
auto-indent, v0.5.0
autoclose-html, v0.23.0
coffeescript-check, v0.2.0
color-picker, v2.1.1
git-history, v3.2.0
highlight-selected, v0.11.2
language-haml, v0.24.0
linter, v1.11.4
linter-coffeelint, v1.1.2
linter-haml, v1.2.0
linter-js-yaml, v1.2.5
linter-jsonlint, v1.2.4
linter-rubocop, v0.4.7
linter-scss-lint, v2.5.1
pigments, v0.26.0
seti-icons, v0.4.5
# Dev
No dev packages
[Enter steps to reproduce:]
Atom: 1.20.1 x64
Electron: 1.6.9
OS: Mac OS X 10.12.6
Thrown From: git-history package 3.3.0
Uncaught SyntaxError: Unexpected token in JSON at position 1753
At file:///Applications/Atom.app/Contents/Resources/app/static/index.html:1
SyntaxError: Unexpected token in JSON at position 1753
at JSON.parse (<anonymous>)
at stdout (/packages/git-history/lib/git-history-view.coffee:47:13)
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:212:17)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at Pipe.onread (net.js:551:20)
-0:43.9.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
-0:38.4.0 command-palette:toggle (input.hidden-input)
-0:34.1.0 git-history:show-file-history (input.hidden-input)
-0:28.9.0 editor:consolidate-selections (input.hidden-input)
-0:28.9.0 core:cancel (input.hidden-input)
atom-easy-jsdoc 4.12.3
atom-handlebars 1.3.0
busy-signal 1.4.3
file-icons 2.1.11
flex-tool-bar 0.12.0
git-history 3.3.0
goto-definition 1.3.4
highlight-selected 0.13.1
hyperclick 0.1.5
ide-json 0.1.0
ide-typescript 0.6.1
intentions 1.1.5
js-hyperclick 1.11.0
last-cursor-position 0.9.2
linter 2.2.0
linter-eslint 8.2.1
linter-ui-default 1.6.8
minimap 4.29.6
minimap-bookmarks 0.4.2
minimap-codeglance 0.4.7
minimap-cursorline 0.2.0
minimap-find-and-replace 4.5.2
minimap-git-diff 4.3.1
minimap-highlight-selected 4.6.1
minimap-linter 2.0.2
minimap-selection 4.5.0
open-files 0.8.2
pinned-tabs 1.3.0
Sublime-Style-Column-Selection 1.7.4
symbols-list 2.4.1
term3 0.22.1
tool-bar 1.1.0
Just installed the package because it sounded remarkably useful. Unfortunately, it threw these errors as soon as I hit "ctrl-alt-o" to go through a file's history (although a dropdown appears at the top of the window stating that file history is being loaded). I'm running Windows 7 SP1 with Atom 0.141.0.
Uncaught SyntaxError: Unexpected token F VM559 /c:/Users/<name>/.atom/packages/git-history/lib/git-history-view.coffee:44stdout VM559 /c:/Users/<name>/.atom/packages/git-history/lib/git-history-view.coffee:44(anonymous function) d:\Utilities\Atom\resources\app\src\buffered-process.js:92emit events.js:107readableAddChunk _stream_readable.js:162Readable.push _stream_readable.js:125onread net.js:514
Uncaught SyntaxError: Unexpected token F VM559 /c:/Users/<name>/.atom/packages/git-history/lib/git-history-view.coffee:44stdout VM559 /c:/Users/<name>/.atom/packages/git-history/lib/git-history-view.coffee:44(anonymous function) d:\Utilities\Atom\resources\app\src\buffered-process.js:103emit events.js:129(anonymous function) net.js:461
Uncaught SyntaxError: Unexpected token F VM559 /c:/Users/<name>/.atom/packages/git-history/lib/git-history-view.coffee:44
Uncaught SyntaxError: Unexpected token F VM559 /c:/Users/<name>/.atom/packages/git-history/lib/git-history-view.coffee:44
OS: Windows 10 64 bits
Atom: 1.8.0
git-history: 3.2.0
Hi! I'm having issues when trying to see history files inside submodules. The history works fine with the files of the root git repo, but no luck with the ones inside the submodules, as said.
Any clue?
Thanks in advance
Whenever I select a commit from the git-history drop-down the previous version opens in a buffer with the line endings set to LF. This breaks the functionality of the split-diff package I use until I manually change the line endings to CRLF. In light of this, an option for changing the default line endings would be helpful.
[Enter steps to reproduce below:]
Atom Version: 0.204.0
System: KYRILL
Thrown From: git-history package, v3.0.0
Uncaught TypeError: Cannot read property 'repo' of undefined
At /C:/Users/koehl/.atom/packages/git-history/lib/git-history-view.coffee:192
TypeError: Cannot read property 'repo' of undefined
at GitHistoryView._loadRevision (C:\Users\koehl\.atom\packages\git-history\lib\git-history-view.coffee:120:17)
at GitHistoryView.confirmed (C:\Users\koehl\.atom\packages\git-history\lib\git-history-view.coffee:112:10)
at GitHistoryView.module.exports.SelectListView.confirmSelection (C:\Users\koehl\AppData\Local\atom\app-0.204.0\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:338:21)
at space-pen-div.module.exports.SelectListView.initialize.atom.commands.add.core:confirm (C:\Users\koehl\AppData\Local\atom\app-0.204.0\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:109:19)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\koehl\AppData\Local\atom\app-0.204.0\resources\app.asar\src\command-registry.js:238:29)
at __bind (C:\Users\koehl\AppData\Local\atom\app-0.204.0\resources\app.asar\src\command-registry.js:3:61)
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\koehl\AppData\Local\atom\app-0.204.0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:520:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\koehl\AppData\Local\atom\app-0.204.0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:355:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\Users\koehl\AppData\Local\atom\app-0.204.0\resources\app.asar\src\window-event-handler.js:178:20)
-0:14.5.0 git-history:show-file-history (atom-text-editor.editor.is-focused)
-0:13.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:04.4.0 git-history:show-file-history (atom-text-editor.editor.is-focused)
2x -0:03.6.0 core:move-down (atom-text-editor.editor.mini.is-focused)
-0:03.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
{
"core": {
"disabledPackages": [
"sass-watch",
"linter-phpcs",
"slash-closer",
"remote-edit",
"emmet",
"resize-panes",
"resize-panes",
"recent-files",
"compare-files"
]
},
"git-history": {
"showDiff": false
}
}
# User
atom-color-highlight, v3.0.9
atom-html-preview, v0.1.6
color-picker, v2.0.2
git-go, v1.0.1
git-history, v3.0.0
git-log, v0.4.1
git-tab-status, v1.9.2
highlight-selected, v0.9.3
keyboard-localization, v1.4.0
language-smarty-php, v0.5.0
linter, v0.12.6
linter-csslint, v0.0.13
linter-htmlhint, v0.0.16
linter-jsonlint, v0.1.4
linter-php, v0.0.15
linter-tidy, v1.0.1
minimap, v4.9.0
minimap-color-highlight, v4.1.4
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.3
minimap-highlight-selected, v4.3.0
script, v2.23.0
# Dev
No dev packages
[Enter steps to reproduce:]
Atom: 1.47.0 x64
Electron: 5.0.13
OS: Ubuntu 18.04.4
Thrown From: git-history package 3.3.0
Uncaught TypeError: Callback must be a function
At fs.js:146
TypeError [ERR_INVALID_CALLBACK] [ERR_INVALID_CALLBACK]: Callback must be a function
at makeCallback (fs.js:146:11)
at Object.mkdir (fs.js:747:14)
at /packages/git-history/lib/git-history-view.coffee:104:20
at n (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1063432)
at /snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1063520
at Socket.<anonymous> (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1062188)
at Socket.emit (events.js:199:15)
at Pipe.<anonymous> (net.js:593:12)
-0:59.2.0 application:open (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-0:16 git-history:show-file-history (input.hidden-input)
git-history 3.3.0
[Enter steps to reproduce below:]
Atom Version: 1.12.5
Electron Version: 1.3.9
System: Microsoft Windows 10 Pro
Thrown From: git-history package, v3.2.0
Uncaught ReferenceError: file is not defined
At C:\Users\alex\.atom\packages\git-history\lib\git-history-view.coffee:10
ReferenceError: file is not defined
at GitHistoryView.initialize (file:///C:/Users/alex/.atom/packages/git-history/lib/git-history-view.coffee:10:20)
at GitHistoryView.View [as constructor] (C:\Users\alex\.atom\packages\git-history\node_modules\space-pen\lib\space-pen.js:184:25)
at GitHistoryView.SelectListView [as constructor] (C:\Users\alex\.atom\packages\git-history\node_modules\atom-space-pen-views\lib\select-list-view.js:18:51)
at new GitHistoryView (file:///C:/Users/alex/.atom/packages/git-history/lib/git-history-view.coffee:6:7)
at atom-text-editor.GitHistory._loadGitHistoryView (file:///C:/Users/alex/.atom/packages/git-history/lib/git-history.coffee:18:13)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\alex\AppData\Local\atom\app-1.12.5\resources\app.asar\src\command-registry.js:259:29)
at C:\Users\alex\AppData\Local\atom\app-1.12.5\resources\app.asar\src\command-registry.js:3:59
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\alex\AppData\Local\atom\app-1.12.5\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:587:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\alex\AppData\Local\atom\app-1.12.5\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:382:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (C:\Users\alex\AppData\Local\atom\app-1.12.5\resources\app.asar\src\window-event-handler.js:106:36)
at HTMLDocument.<anonymous> (C:\Users\alex\AppData\Local\atom\app-1.12.5\resources\app.asar\src\window-event-handler.js:3:59)
-1:57.3.0 application:open (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-1:45.6.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
14x -1:42.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-1:39 core:confirm (atom-text-editor.editor.mini.is-focused)
-1:03.3.0 core:copy (atom-text-editor.editor.mini.is-focused)
-1:02.0 core:paste (atom-text-editor.editor.mini.is-focused)
-1:01.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:02.8.0 git-history:show-file-history (atom-text-editor.editor.is-focused)
{
"core": {
"telemetryConsent": "limited"
}
}
# User
git-history, v3.2.0 (inactive)
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.45.0 (inactive)
base16-tomorrow-dark-theme, v1.3.0 (inactive)
base16-tomorrow-light-theme, v1.3.0 (inactive)
one-dark-ui, v1.6.2 (active)
one-light-ui, v1.6.2 (inactive)
one-dark-syntax, v1.5.0 (active)
one-light-syntax, v1.5.0 (inactive)
solarized-dark-syntax, v1.0.5 (inactive)
solarized-light-syntax, v1.0.5 (inactive)
about, v1.7.0 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.13.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.4 (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.2 (active)
command-palette, v0.39.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.202.2 (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.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.158.8 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.1 (inactive)
settings-view, v0.243.1 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.4 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.2 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.210.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.0 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)
# Dev
No dev packages
If you move or rename a file (even with git mv
), git-history shows only those commits that were made after the change. Unless it's done by purpose, I think it would be more useful to show all versions of the file.
It seems that git's --follow
option does the job:
https://stackoverflow.com/questions/3701404/list-all-commits-for-a-specific-file
The only missing thing that I found in this package is the diff between the hash commit and the HEAD.
Would be nice if the inserted removed and updated parts were highlighted like gutter does or something similar.
I have noticed that if I add a project folder that is not the root node of a git repo I get this message when trying to view the history of a file. The package properly lists all the revisions. However when selecting one to view I get the Could not retrieve history for ... message.
Everythings works like a charm if I use the root git repo node as my atom project folder. Its exactly what I was looking for.
I'm using the latest atom(1.15.0), in Ubuntu.
Anyway, not a big deal. Thought you'd like to know.
[Enter steps to reproduce:]
Atom: 1.21.0 x64
Electron: 1.6.9
OS: Mac OS X 10.12.6
Thrown From: git-history package 3.3.0
Uncaught SyntaxError: Unexpected token ๏ฟฝ in JSON at position 162
At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html:1
SyntaxError: Unexpected token ๏ฟฝ in JSON at position 162
at JSON.parse (<anonymous>)
at stdout (/packages/git-history/lib/git-history-view.coffee:47:13)
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:212:17)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at Pipe.onread (net.js:551:20)
-1:16.2.0 core:confirm (input.hidden-input)
-0:18.6.0 git-history:show-file-history (input.hidden-input)
atom-beautify 0.30.5
atom-handlebars 1.3.0
atom-language-velocity 1.1.0
busy-signal 1.4.3
git-history 3.3.0
intentions 1.1.5
language-dustjs 0.3.0
language-ejs 0.4.0
language-impex 1.0.1
language-jsx 0.1.1
language-patch 1.2.0
linter 2.2.0
linter-eslint 8.3.2
linter-handlebars 2.5.0
linter-ui-default 1.6.10
platformio-ide-terminal 2.7.0
pretty-json 1.6.4
When using atoms new preview tabs, git-history does not work.
[Enter steps to reproduce:]
git log -p file
commit 401ff9830128ae79f5916ac27879cdd95388d475
Author: PERSON <[email protected]>
Date: Tue Jan 24 11:32:59 2017 +0100
TAG #comment comment
TAG #comm# comment
diff --git a/path b/path
new file mode 100644
index 000000000..feb82974c
--- /dev/null
+++ b/path
@@ -0,0 +1,90 @@
+version: '2'
+
+ docker-compose file
Atom: 1.38.2 x64
Electron: 2.0.18
OS: Microsoft Windows 10 Pro
Thrown From: git-history package 3.3.0
Uncaught SyntaxError: Unexpected token in JSON at position 277
At file:///C:/Users/j.rosa/AppData/Local/atom/app-1.38.2/resources/app.asar/static/index.html:1
SyntaxError: Unexpected token in JSON at position 277
at JSON.parse (<anonymous>)
at stdout (/packages/git-history/lib/git-history-view.coffee:47:13)
at Socket.e.on.e (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:14:1118051)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:246:13)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:594:20)
-3:12.6.0 core:move-down (input.hidden-input)
-3:12.2.0 core:move-up (input.hidden-input)
-3:09.7.0 core:confirm (input.hidden-input)
-3:09.7.0 open-on-github:history (input.hidden-input)
-2:56.4.0 command-palette:toggle (input.hidden-input)
-2:53.1.0 core:move-down (input.hidden-input)
-2:52.8.0 core:move-up (input.hidden-input)
-2:52.5.0 core:confirm (input.hidden-input)
-2:52.5.0 git-history:show-file-history (input.hidden-input)
-2:18 command-palette:toggle (input.hidden-input)
-2:15.3.0 core:move-down (input.hidden-input)
-2:15 core:move-up (input.hidden-input)
-2:13.3.0 core:confirm (input.hidden-input)
-2:13.3.0 git-history:show-file-history (input.hidden-input)
-1:19.7.0 tree-view:show-current-file-in-file-manager (div.title)
-0:11.3.0 tree-view:remove (span.name.icon.icon-file-directory)
git-diff-details 1.4.0
git-history 3.3.0
minimap-git-diff 4.3.1
It would be cool to have "Show history for selection" command.
Git already supports such kind of output via git log -L10:20:file
[Enter steps to reproduce below:]
Atom Version: 0.210.0
System: Mac OS X 10.10.3
Thrown From: git-history package, v3.0.0
Uncaught SyntaxError: Unexpected token
At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2FUsers%2Fmatreyes%2FDesktop%2F4talent%2Fbci_solutions%22%7D%5D%2C%22bootstrapScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Fwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22includeDeprecatedAPIs%22%3Afalse%2C%22profileStartup%22%3Afalse%2C%22appVersion%22%3A%220.210.0%22%2C%22shellLoadTime%22%3A357%2C%22initialPaths%22%3A%5B%22%2FUsers%2Fmatreyes%2FDesktop%2F4talent%2Fbci_solutions%22%5D%7D:1
SyntaxError: Unexpected token
at Object.parse (native)
at stdout (/Users/matreyes/.atom/packages/git-history/lib/git-history-view.coffee:46:13)
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:85:13)
at emitOne (events.js:77:13)
at Socket.emit (events.js:166:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:109:10)
at Pipe.onread (net.js:517:20)
-0:23.1.0 fuzzy-finder:toggle-file-finder (atom-pane.pane.active)
7x -0:22.3.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:15 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:09.1.0 git-plus:menu (atom-text-editor.editor.is-focused)
-0:07.1.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-0:07.1.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-0:06.2.0 command-palette:toggle (atom-text-editor.editor.is-focused)
-0:01.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:01.7.0 git-history:show-file-history (atom-text-editor.editor)
{
"core": {
"disabledPackages": [
"minimap"
]
},
"git-history": {}
}
# User
.bin, vundefined
atom-typescript, v4.5.16
color-picker, v2.0.6
git-history, v3.0.0
git-log, v0.4.1
git-plus, v5.1.2
language-haml, v0.21.0
linter, v0.12.7
react, v0.12.0
# Dev
No dev packages
[Enter steps to reproduce:]
Atom: 1.23.3 x64
Electron: 1.6.15
OS: Mac OS X 10.12.6
Thrown From: git-history package 3.3.0
Uncaught SyntaxError: Unexpected token in JSON at position 1215
At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html:1
SyntaxError: Unexpected token in JSON at position 1215
at JSON.parse (<anonymous>)
at stdout (/packages/git-history/lib/git-history-view.coffee:47:13)
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:212:17)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at Pipe.onread (net.js:551:20)
-2:49.1.0 core:confirm (input.hidden-input)
-1:00.5.0 settings-view:open (input.hidden-input)
-0:58.3.0 core:paste (input.hidden-input)
-0:40.2.0 command-palette:toggle (input.hidden-input)
-0:37.9.0 core:move-down (input.hidden-input)
-0:37.6.0 core:move-up (input.hidden-input)
-0:35.5.0 core:move-down (input.hidden-input)
-0:30.9.0 core:confirm (input.hidden-input)
-0:30.9.0 git-history:show-file-history (input.hidden-input)
-0:20 core:backspace (input.hidden-input)
-0:18.8.0 editor:consolidate-selections (input.hidden-input)
-0:18.8.0 core:cancel (input.hidden-input)
-0:11.7.0 command-palette:toggle (input.hidden-input)
-0:09.2.0 core:move-down (input.hidden-input)
-0:06.5.0 core:confirm (input.hidden-input)
-0:06.5.0 git-history:show-file-history (input.hidden-input)
advanced-open-file 0.16.7
atom-beautify 0.30.9
atom-live-server 2.2.0
atom-ternjs 0.18.3
atom-wrap-in-tag 0.6.0
autocomplete-python 1.10.5
busy-signal 1.4.3
emmet 2.4.3
eval-javascript 1.2.0
file-icons 2.1.15
file-type-icons 1.3.4
file-types 0.5.5
from-and-to-json 1.0.0
git-diff-details 1.4.0
git-history 3.3.0
git-plus 7.10.0
git-projects 1.17.0
highlight-selected 0.13.1
intentions 1.1.5
javascript-snippets 1.2.1
jquery-snippets 11.0.0
language-apache 1.8.0
language-generic-config 1.4.0
language-markdown 0.25.1
linter 2.2.0
linter-eslint 8.4.0
linter-jshint 3.1.6
linter-markdown 5.2.0
linter-tidy 2.3.1
linter-ui-default 1.6.10
markdown-scroll-sync 2.1.2
markdown-writer 2.7.3
minimap 4.29.7
minimap-pigments 0.2.2
monokai 0.24.0
open-recent 5.0.0
pigments 0.40.2
platformio-ide-terminal 2.8.0
pretty-json 1.6.4
remote-atom 1.3.11
split-diff 1.5.2
ssh-config 0.13.0
Sublime-Style-Column-Selection 1.7.4
todo-show 2.1.0
turbo-javascript 1.4.0
[Enter steps to reproduce below:]
Atom Version: 0.188.0
System: Microsoft Windows 7 Enterprise
Thrown From: git-history package, v2.3.0
Uncaught SyntaxError: Unexpected number
At file:///C:/Users/220983F/AppData/Local/atom/app-0.188.0/resources/app/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3Anull%7D%5D%2C%22bootstrapScript%22%3A%22C%3A%5C%5CUsers%5C%5C220983F%5C%5CAppData%5C%5CLocal%5C%5Catom%5C%5Capp-0.188.0%5C%5Cresources%5C%5Capp%5C%5Csrc%5C%5Cwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22C%3A%5C%5CUsers%5C%5C220983F%5C%5CAppData%5C%5CLocal%5C%5Catom%5C%5Capp-0.188.0%5C%5Cresources%5C%5Capp%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22appVersion%22%3A%220.188.0%22%2C%22shellLoadTime%22%3A408%2C%22initialPaths%22%3A%5B%22C%3A%5C%5CUsers%5C%5C220983F%5C%5Ccoldfusion%5C%5Cwsiteadm%5C%5Cweb%22%5D%7D:1
SyntaxError: Unexpected number
at Object.parse (native)
at stdout (C:\Users\220983F\.atom\packages\git-history\lib\git-history-view.coffee:40:13)
at Socket.<anonymous> (C:\Users\220983F\AppData\Local\atom\app-0.188.0\resources\app\src\buffered-process.js:148:13)
at Socket.emit (events.js:138:20)
at Pipe.close (net.js:477:12)
-2:01.9 tree-view:expand-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
12x -2:01.3 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
4x -1:59.9 core:move-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-1:58.1 tree-view:expand-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
4x -1:56.9 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-1:53.5 tree-view:open-selected-entry (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-1:45.6 git-history:show-file-history (atom-text-editor.editor)
-1:09.8 command-palette:toggle (atom-text-editor.editor)
-1:04.0 git-history:show-file-history (atom-text-editor.editor)
-0:51.5 tree-view:collapse-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:51.0 core:move-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:50.5 tree-view:open-selected-entry (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:47.0 git-plus:menu (atom-text-editor.editor)
-0:43.6 git-history:show-file-history (atom-text-editor.editor)
-0:36.0 settings-view:open (atom-text-editor.editor)
-0:08.3 git-history:show-file-history (atom-text-editor.editor)
{
"core": {
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
]
},
"git-history": {}
}
# User
git-go, v1.0.0
git-history, v2.3.0
git-log, v0.3.0
git-plus, v4.4.10
language-cfml, v0.5.1
# Dev
No dev packages
I'm sure if this has been suggested before but it would be great if the current file could show what has changed since the commit that is shown. This would make code reviews a lot easier ;)
[Enter steps to reproduce below:]
Atom Version: 1.0.0
System: Mac OS X 10.10.4
Thrown From: git-history package, v3.0.0
Uncaught TypeError: Cannot read property 'repo' of null
At /Users/shenyongquan/.atom/packages/git-history/lib/git-history-view.coffee:115
TypeError: Cannot read property 'repo' of null
at GitHistoryView._loadRevision (/Users/shenyongquan/.atom/packages/git-history/lib/git-history-view.coffee:115:78)
at GitHistoryView.confirmed (/Users/shenyongquan/.atom/packages/git-history/lib/git-history-view.coffee:112:10)
at GitHistoryView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at space-pen-li.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:139:19)
at HTMLOListElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLOListElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)
-5:26.5.0 application:add-project-folder (atom-text-editor.editor.is-focused)
-0:05.1.0 application:hide-other-applications (atom-text-editor.editor.is-focused)
-0:03.4.0 git-history:show-file-history (atom-text-editor.editor.is-focused)
{
"core": {},
"git-history": {}
}
# User
autocomplete-python, v0.5.1
git-history, v3.0.0
git-log, v0.4.1
# Dev
No dev packages
[Enter steps to reproduce:]
Atom: 1.52.0 x64
Electron: 6.1.12
OS: Mac OS X 10.14.4
Thrown From: git-history package 3.3.0
Uncaught TypeError: Callback must be a function. Received undefined
At fs.js:150
TypeError [ERR_INVALID_CALLBACK] [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
at makeCallback (fs.js:150:11)
at Object.mkdir (fs.js:735:14)
at /packages/git-history/lib/git-history-view.coffee:104:20
at n (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1088976)
at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1089064
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1087732)
at Socket.emit (events.js:205:15)
at Pipe.<anonymous> (net.js:586:12)
-0:54.7.0 command-palette:toggle (input.hidden-input)
-0:48.6.0 git-history:show-file-history (input.hidden-input)
-0:32 editor:consolidate-selections (input.hidden-input)
-0:32 core:cancel (input.hidden-input)
-0:14.2.0 command-palette:toggle (input.hidden-input)
-0:09.2.0 git-history:show-file-history (input.hidden-input)
-0:04.4.0 editor:consolidate-selections (input.hidden-input)
-0:04.4.0 core:cancel (input.hidden-input)
git-history 3.3.0
ctrl-alt-o and ctrl-alt-h do exactly the same. Remove one of them to avoid keybinding clashes with other packages.
[Enter steps to reproduce below:]
Atom Version: 0.165.0
System: linux 3.13.0-43-generic
Thrown From: git-history package, v1.1.2
Uncaught SyntaxError: Unexpected token P
At file:///usr/share/atom/resources/app/static/index.html?loadSettings=%7B%22bootstrapScript%22%3A%22%2Fusr%2Fshare%2Fatom%2Fresources%2Fapp%2Fsrc%2Fwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22%2Fusr%2Fshare%2Fatom%2Fresources%2Fapp%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22appVersion%22%3A%220.165.0%22%2C%22shellLoadTime%22%3A1197%7D:1
SyntaxError: Unexpected token P
at Object.parse (native)
at stdout (/home/michael/.atom/packages/git-history/lib/git-history-view.coffee:26:13)
at Socket.<anonymous> (/usr/share/atom/resources/app/src/buffered-process.js:137:13)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:162:16)
at Socket.Readable.push (_stream_readable.js:125:10)
at Pipe.onread (net.js:514:20)
21x -0:49.9 core:move-up (input.hidden-input)
undefined -0:41.1 core:move-down (input.hidden-input)
5x -0:25.7 core:move-right (input.hidden-input)
14x -0:24.2 core:move-left (input.hidden-input)
49x -0:23.0 core:move-up (input.hidden-input)
-0:20.8 core:move-down (input.hidden-input)
50x -0:20.5 core:move-left (input.hidden-input)
4x -0:17.4 core:move-right (input.hidden-input)
undefined -0:15.6 core:move-down (input.hidden-input)
-0:00.0 git-history:show-file-history (input.hidden-input)
{}
# User
editorconfig, v0.2.2
geojson-preview, v0.3.3
git-history, v1.1.2
language-dot, v1.5.0
language-rust, v0.3.2
linter-rust, v0.0.3
tag, v0.2.3
# Dev
No dev packages
/cc @atom/core
Currently this package adds a command to Atom on activate(), but fails to provide a deactivate() endpoint to remove that command if the package is disabled (or updated).
Atom Version: 1.7.3
System: Mac OS X 10.11.4
Thrown From: git-history package, v3.2.0
Uncaught Error: spawn EINVAL
At /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:262
Error: spawn EINVAL
at exports._errnoException (util.js:856:11)
at ChildProcess.spawn (internal/child_process.js:298:11)
at Object.exports.spawn (child_process.js:374:9)
at BufferedProcess.module.exports.BufferedProcess.spawn (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:190:44)
at new BufferedProcess (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:52:14)
at GitHistoryView._fetchFileHistory (/Users/jeffsandberg/.atom/packages/git-history/lib/git-history-view.coffee:60:13)
at GitHistoryView._loadLogData (/Users/jeffsandberg/.atom/packages/git-history/lib/git-history-view.coffee:55:10)
at GitHistoryView.show (/Users/jeffsandberg/.atom/packages/git-history/lib/git-history-view.coffee:17:10)
at GitHistoryView.initialize (/Users/jeffsandberg/.atom/packages/git-history/lib/git-history-view.coffee:10:10)
at GitHistoryView.View [as constructor] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
at GitHistoryView.SelectListView [as constructor] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:18:51)
at new GitHistoryView (/Users/jeffsandberg/.atom/packages/git-history/lib/git-history-view.coffee:8:5)
at atom-text-editor.GitHistory._loadGitHistoryView (/Users/jeffsandberg/.atom/packages/git-history/lib/git-history.coffee:18:13)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
-1:00.3.0 command-palette:toggle (atom-text-editor.editor.vim-mode-plus.insert-mode.is-focused)
2x -0:56.8.0 core:move-up (atom-text-editor.editor.mini.is-focused)
-0:56.1.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-0:56.1.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-0:43.6.0 command-palette:toggle (atom-text-editor.editor.vim-mode-plus.insert-mode.is-focused)
-0:42 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:42 git-log:show (atom-text-editor.editor.vim-mode-plus.insert-mode)
-0:41.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:09.5.0 core:close (a.btn-issue.btn.btn-error)
-0:08.2.0 command-palette:toggle (a.btn-issue.btn.btn-error)
-0:06.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:06.3.0 git-history:show-file-history (a.btn-issue.btn.btn-error)
-0:01.9.0 command-palette:toggle (atom-text-editor.editor.vim-mode-plus.insert-mode.is-focused)
-0:00.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:00.1.0 git-history:show-file-history (atom-text-editor.editor.vim-mode-plus.insert-mode)
{
"core": {
"audioBeep": false,
"destroyEmptyPanes": false,
"disabledPackages": [
"save-session",
"emacs-flow",
"autocomplete",
"feedback",
"deprecation-cop",
"ruby-string-interpolation"
],
"excludeVcsIgnoredPaths": false,
"packagesWithKeymapsDisabled": [
"highlight-line",
"whitespace",
"notifications",
"string-looper"
],
"themes": [
"tomorrow-ui",
"base16-tomorrow-dark-theme"
]
}
}
# User
No installed packages
# Dev
No dev packages
I think the package obstructs atom somehow from refreshing tab or opening new one.
The bug does not appear after fresh install, you are suppose to use it for a while, maybe it is connected with some cache memory?
Ask me for more details.
[Enter steps to reproduce:]
Atom: 1.15.0 x64
Electron: 1.3.13
OS: Linux Mint
Thrown From: git-history package 3.2.0
Uncaught SyntaxError: Unexpected token in JSON at position 208
At file:///usr/share/atom/resources/app.asar/static/index.html:1
SyntaxError: Unexpected token in JSON at position 208
at Object.parse (native)
at stdout (/packages/git-history/lib/git-history-view.coffee:46:13)
at /app.asar/src/buffered-process.js:196:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at Pipe.onread (net.js:543:20)
-0:18.6.0 core:close (div.markdown-preview.native-key-bindings)
-0:13 command-palette:toggle (input.hidden-input)
-0:10.3.0 core:confirm (input.hidden-input)
-0:10.2.0 git-history:show-file-history (input.hidden-input)
ambiance-pro-ui 0.4.1
atom-beautify 0.29.17
git-history 3.2.0
git-plus 7.3.3
git-time-machine 1.5.6
merge-conflicts 1.4.4
split-diff 1.2.1
symbols-tree-view 0.13.2
Regardless of the active file or commit history item selected, this is what happens to me:
Otherwise, Atom/Git seems to be setup correctly: I see files appropriately highlighted (up-to-date, uncommitted change, etc.)
Not being very familiar with Atom, I'm not sure what I might to do help debug, but I'd be happy to try something and report back with config info, stack traces, etc.
Thanks,
Ken
When picking a commit from history, a second panel is opened and filled with the raw output of git.
What I expected was two panes with current and history code and coloured highlights of the differences, kinda like split-diffs does.
Am I missing something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.