Giter VIP home page Giter VIP logo

git-log's Introduction

Git Log Package

Not maintained anymore.

Git-log is a package for Atom that creates a graph of your git commits and shows commit related information for you on the editor.

Usage

Open the command palette with Cmd-Shift-P (MacOS) or Ctrl-Shift-P (Windows or Linux)

  • Git Log: Show

Installing

Use the Atom package manager, which can be found in the Settings view or run apm install git-log from the command line.

Feature requests & bug reports

The main development branch is develop and the stable 'production' branch is master. Please remember to base your branch from develop and issue the pull request back to that branch.

Note

The inspiration for this package is SourceTree App.

git-log's People

Contributors

abe33 avatar brntbeer avatar itsthatguy avatar komputerwiz avatar nikhilkalige 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

git-log's Issues

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/usr/share/atom/resources/app/src/atom.js:54:11)
Object.activate (/home/huaraz2/.atom/packages/git-log/lib/git-log.js:10:13)

How do I use it?

I just installed this package and it doesn't show up in the packages drop-down menu. So how do I view the log graph?

I'm not sure if I'm experiencing a bug or just missing something.

Perhaps some better documentation is in order.

Sublime Text Port

I'm not sure how possible it is, but if that's doable it'd be awesome!

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/atom.js:55:11)
Object.activate (/Users/micsar/.atom/packages/git-log/lib/git-log.js:10:13)

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/opt/atom/resources/app/src/atom.js:54:11)
Object.activate (/home/yamishi/.atom/packages/git-log/lib/git-log.js:10:13)

Master and branch view on graph

Not an issue exactly. But I think the Master branch should run along the left in a straight line, and the branches should split off.
image

as you can see my master branch split off and the feature branch is above it.

Project.getRepo is deprecated.

Use ::getRepositories instead

Project.getRepo (C:\Users\susnick\AppData\Local\atom\app-0.196.0\resources\app.asar\src\project.js:579:12)
check_repo_validity (C:\Users\susnick\.atom\packages\git-log\lib\git-log.js:53:35)
atom-workspace.<anonymous> (C:\Users\susnick\.atom\packages\git-log\lib\git-log.js:20:24)
CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\susnick\AppData\Local\atom\app-0.196.0\resources\app.asar\src\command-registry.js:238:29)

Performance Slow

First off, awesome package. I love SourceTree, but would love to have it inside atom.

That being said, loading up my company's main repo, git-log takes 12 seconds to load, and bogs the editor pretty badly.

I didn't see any settings or anything to help, but wanted to let you know. I don't have any solutions or anything either. :(

line click handler

@abe33 I am trying to create a panel whenever you click on a line. I was thinking of saving the array index from the log in the div for each element and then use that index to get data related to the line and display in a new panel below.

Do you have any suggestions on how it can be done.

Also i have created a resizable column layout, let me know your thoughts.

Thankyou

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (C:\Users\Fabiano\AppData\Local\atom\app-0.179.0\resources\app\src\atom.js:54:11)
Object.activate (C:\Users\Fabiano\.atom\packages\git-log\lib\git-log.js:10:13)

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.activate (/Users/rromerogar/.atom/packages/git-log/lib/git-log.js:10:13)

Uncaught TypeError: Cannot read property 'split' of null

[Enter steps to reproduce below:]

  1. showing git-log in git repo

Atom Version: 0.187.0
System: Microsoft Windows 7 Enterprise
Thrown From: git-log package, v0.3.0

Stack Trace

Uncaught TypeError: Cannot read property 'split' of null

At C:\Users\user\.atom\packages\git-log\lib\logparser.js:116

TypeError: Cannot read property 'split' of null
  at parse_git_log (C:\Users\user\.atom\packages\git-log\lib\logparser.js:116:20)
  at GitLogView.parser (C:\Users\user\.atom\packages\git-log\lib\git-log-view.js:110:16)
  at GitLogView.log_callback (C:\Users\user\.atom\packages\git-log\lib\git-log-view.js:68:10)
  at C:\Users\user\.atom\packages\git-log\lib\git-log-view.js:50:18
  at BufferedProcess.triggerExitCallback (C:\Users\user\AppData\Local\atom\app-0.187.0\resources\app\src\buffered-process.js:63:47)
  at ChildProcess.<anonymous> (C:\Users\user\AppData\Local\atom\app-0.187.0\resources\app\src\buffered-process.js:85:18)
  at ChildProcess.emit (events.js:119:17)
  at Process.ChildProcess._handle.onexit (child_process.js:1072:12)

Commands

  3x -0:17.1 click (atom-text-editor.editor)
     -0:09.2 command-palette:toggle (atom-text-editor.editor)
     -0:05.5 core:confirm (atom-text-editor.editor.mini)
     -0:05.5 git-log:show (atom-text-editor.editor)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "themes": [
      "seti-ui",
      "seti-syntax"
    ],
    "followSymlinks": true,
    "disabledPackages": [
      "deprecation-cop",
      "whitespace",
      "neon-selection",
      "atom-pair",
      "git-go",
      "git-plus"
    ]
  }
}

Installed Packages

# User
atom-color-highlight, v3.0.8
atomatigit, v1.2.3
autocomplete-plus, v2.2.0
color-picker, v1.5.0
docblockr, v0.6.3
emmet, v2.3.4
git-log, v0.3.0
highlight-line, v0.10.1
jshint, v1.3.0
keybinding-cheatsheet, v0.0.8
linter, v0.12.0
linter-csslint, v0.0.11
linter-jshint, v0.1.0
linter-jsonlint, v0.1.2
linter-less, v0.3.1
minimap, v4.6.0
minimap-bookmarks, v0.1.0
minimap-color-highlight, v4.1.0
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.2
minimap-highlight-selected, v4.2.0
minimap-selection, v4.2.0
open-last-project, v0.3.5
project-manager, v1.15.5
rainbow-selection, v0.3.0
Search, v0.4.0
select-line, v0.16.0
seti-syntax, v0.3.3
seti-ui, v0.6.3
Sublime-Style-Column-Selection, v1.2.3
symbols-tree-view, v0.8.2
sync-settings, v0.2.2
tabs-to-spaces, v0.9.0
trailing-spaces, v0.2.4

# Dev
No dev packages

Can't resize the graph column.

The repo I'm trying this on created a graph column that takes up half the useable space. As a result I can't really read the date, commit, author columns all at once. The user should be able to drag the description column over and make the graph column smaller if desired.

Fonts not rendering properly

Font size is rendering too large (19.2px). Inspector shows that font size setting is not being retrieved correctly from configuration, hence user modifications to editor and git-log package configuration values are not reflected in the Git Log view.

atom-git-log-font-size

Uncaught TypeError: Cannot read property 'position' of undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.176.0
System: Mac OS X 10.9.5
Thrown From: git-log package, v0.2.0

Stack Trace

Uncaught TypeError: Cannot read property 'position' of undefined

At /Users/yriveiro/.atom/packages/git-log/lib/gitgraph.js:185

TypeError: Cannot read property 'position' of undefined
  at GitGraph.lines (/Users/yriveiro/.atom/packages/git-log/lib/gitgraph.js:185:27)
  at GitGraph.render (/Users/yriveiro/.atom/packages/git-log/lib/gitgraph.js:214:27)
  at new GitGraph (/Users/yriveiro/.atom/packages/git-log/lib/gitgraph.js:17:20)
  at GitLogView.parser (/Users/yriveiro/.atom/packages/git-log/lib/git-log-view.js:82:17)
  at GitLogView.log_callback (/Users/yriveiro/.atom/packages/git-log/lib/git-log-view.js:63:10)
  at /Users/yriveiro/.atom/packages/git-log/lib/git-log-view.js:45:18
  at BufferedProcess.triggerExitCallback (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:63:47)
  at ChildProcess.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:85:18)
  at ChildProcess.emit (events.js:110:17)
  at Process.ChildProcess._handle.onexit (child_process.js:1068:12)

Commands

  3x -1:04.8 core:backspace (atom-text-editor.editor.mini)
     -1:04.0 core:move-down (atom-text-editor.editor.mini)
     -1:03.5 core:confirm (atom-text-editor.editor.mini)
     -1:03.2 git-history:show-file-history (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -0:57.6 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -0:57.0 core:move-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:54.3 command-palette:toggle (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -0:50.8 core:confirm (atom-text-editor.editor.mini)
     -0:50.8 git-log:show (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -0:42.4 command-palette:toggle (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -0:40.7 core:backspace (atom-text-editor.editor.mini)
  5x -0:38.4 core:move-down (atom-text-editor.editor.mini)
     -0:37.2 core:confirm (atom-text-editor.editor.mini)
     -0:37.1 git-history:show-file-history (atom-text-editor.editor.vim-mode.command-mode.is-focused)
  2x -0:35.1 core:move-down (atom-text-editor.editor.mini)
     -0:34.3 core:confirm (atom-text-editor.editor.mini)

Config

{
  "core": {
    "followSymlinks": true,
    "disabledPackages": [
      "emmet",
      "autocomplete",
      "go-plus",
      "Zen",
      "autocomplete-plus"
    ],
    "themes": [
      "atom-dark-ui",
      "seti-syntax"
    ],
    "projectHome": "/Users/yriveiro/Development/github"
  }
}

Installed Packages

# User
Atom-Syntax-highlighting-for-Sass, v0.5.0
atom-cli-diff, v0.6.4
atom-jshint, v1.5.0
atom-lint, v0.20.1
autocomplete-paths, v0.9.1
autocomplete-plus, v1.1.0
autocomplete-plus-async, v0.22.0
autocomplete-snippets, v0.3.2
color-picker, v1.4.4
docblockr, v0.5.8
editor-stats, v0.16.0
file-icons, v1.4.8
git-history, v1.2.0
git-log, v0.2.0
git-tab-status, v1.5.3
language-jade, v0.3.0
linter, v0.10.1
linter-php, v0.0.11
minimap, v3.5.6
minimap-find-and-replace, v3.1.0
minimap-git-diff, v3.1.1
omni-ruler, v0.3.1
phpunit, v1.0.9
phpunit-snippets, v0.1.0
pretty-json, v0.3.2
script, v2.16.0
seti-syntax, v0.2.1
space-tab, v0.1.0
travis-ci-status, v0.11.2
vim-mode, v0.30.0
zentabs, v0.6.1

# Dev
No dev packages

/cc @atom/core

Deprecated Atom APIs will be removed June 1st

Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (0.3.0) of this package:

  1. Use ::getRepositories instead
  2. Use ::paneForURI instead.
  3. If you would like your pane item with class <ClassName> to support modified behavior, please implement a ::onDidChangeModified() method. If not, ignore this message. ::on methods for items are no longer supported.
  4. If you would like your pane item with class <ClassName> to support title change behavior, please implement a ::onDidChangeTitle() method. ::on methods for items are no longer supported. If not, ignore this message.
  5. Pane item with class <ClassName> should implement ::getURI instead of ::getUri.
  6. Requiring $ from atom is no longer supported. If you are using space-pen, please require $ from atom-space-pen-views. Otherwise require jquery instead: {$} = require 'atom-space-pen-views' or $ = require 'jquery' Add "atom-space-pen-views": "^2.0.3" to your package dependencies. Or add "jquery": "^2" to your package dependencies.
  7. Are you trying to listen for the <some:command-name> Atom command with jQuery::on? jQuery::trigger can no longer be used to listen for Atom commands. Please use atom.commands.add instead. See the docs at https://atom.io/docs/api/latest/CommandRegistry#instance-add for details.

Visit https://gist.github.com/benogle/6d09e295c84b717ef9b4 and search for your package name to see what deprecations are being reported on this package.

See atom/atom#6867 for more info.

Error opening Git show log

Getting the following javascript error when opening git show log in Max OSx

Uncaught SyntaxError: /Users/vijay/.atom/packages/git-log/node_modules/d3/node_modules/jsdom/lib/jsdom/level1/core.js:432
set nodeName() { throw new core.DOMException();}

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:53:11)
Object.activate (/Users/tiger/.atom/packages/git-log/lib/git-log.js:10:13)

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.activate (/Users/jorgegoncalves/.atom/packages/git-log/lib/git-log.js:10:13)

Uncaught Error: Pane has been destroyed

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.165.0
System: Unknown Windows Version
Thrown From: git-log package, v0.2.0

Stack Trace

Uncaught Error: Pane has been destroyed

At d:\Program Files\Atom\resources\app\src\pane.js:579

Error: Pane has been destroyed
  at Pane.module.exports.Pane.activate (d:\Program Files\Atom\resources\app\src\pane.js:579:15)
  at git.cmd.stdout (c:\Users\Administrator\.atom\packages\git-plus\lib\models\git-commit.coffee:113:22)
  at exit (c:\Users\Administrator\.atom\packages\git-plus\lib\git.coffee:26:7)
  at BufferedProcess.triggerExitCallback (d:\Program Files\Atom\resources\app\src\buffered-process.js:63:47)
  at d:\Program Files\Atom\resources\app\src\buffered-process.js:77:18
  at Socket.<anonymous> (d:\Program Files\Atom\resources\app\src\buffered-process.js:150:18)
  at Socket.emit (events.js:129:20)
  at Pipe.close (net.js:461:12)

Commands

     -0:45.8 vim-mode:insert-after (input.hidden-input)
  6x -0:44.8 core:backspace (input.hidden-input)
     -0:31.7 vim-mode:activate-command-mode (input.hidden-input)
     -0:29.8 vim-mode:reset-command-mode (input.hidden-input)
  3x -0:28.6 vim-mode:move-down (input.hidden-input)
  3x -0:27.8 vim-mode:move-up (input.hidden-input)
  4x -0:27.3 vim-mode:move-down (input.hidden-input)
  3x -0:26.6 vim-mode:move-up (input.hidden-input)
  4x -0:26.1 vim-mode:move-down (input.hidden-input)
     -0:24.3 core:save (input.hidden-input)
     -0:19.7 command-palette:toggle (input.hidden-input)
     -0:10.5 core:confirm (input.hidden-input)
     -0:10.5 git-plus:add-and-commit (input.hidden-input)
     -0:08.7 vim-mode:activate-insert-mode (input.hidden-input)
     -0:05.4 core:backspace (input.hidden-input)
     -0:00.0 core:save (input.hidden-input)

Config

{}

Installed Packages

# User
git-log, v0.2.0
git-plus, v4.2.5
vim-mode, v0.22.0

# Dev
No dev packages

/cc @atom/core

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11)
Object.activate (/Users/jawad/.atom/packages/git-log/lib/git-log.js:10:13)

Module did not self-register.

I'm new to Atom (just built today)

  • node -v v0.10.31
  • npm -v 1.4.23
  • Ubuntu 13.10 64bit

Sorry for the copy and paste here.

The following packages could not be loaded because they contain native modules that aren't compatible with this version of Atom.
Previous Atom versions shipped with Chrome 31 and Node 0.11.10 but Atom now ships with Chrome 36 and Node 0.11.13.
The packages listed should now ship versions of these native modules that are compatible with Node 0.11.13.
Listed below are the incompatible native modules that this package depends on.

dark git-log while using light theme

Hi,

I use Atom Light as UI Theme and Solarized Light as Syntax Theme. As you can see there is not enough contrast to read the commit message and it would be nice to have a little more in the grid.
light-theme-dark

Is there a way to inherit colors from the active theme?

Excesive time on loading all commits

Windows 8.1
Atom 0.135.0
Git Log 0.2.0

The package should not load all the commits of the repo. In my case, I'm working with a repo with more than 6000 commits, and when I try to load the git log in Atom it takes too much time and It gets stuck.

Regards

Uncaught Error: Cannot find module './git-log-view'

From @theprophet31337 on February 28, 2015 2:21

[Enter steps to reproduce below:]

  1. open root git folder
  2. open build.gradle
  3. Ctrl-Shift-P then select "Git Log: Show"

Atom Version: 0.184.0
System: Microsoft Windows 8 Enterprise
Thrown From: command-palette package, v0.34.0

Stack Trace

Uncaught Error: Cannot find module './git-log-view'

At module.js:353

Error: Cannot find module './git-log-view'
  at Module._resolveFilename (module.js:351:15)
  at Function.Module._resolveFilename (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\src\module-cache.js:383:52)
  at Function.Module._load (module.js:293:25)
  at Module.require (module.js:380:17)
  at require (module.js:399:17)
  at C:\Users\theprophet31337\.atom\packages\git-log\lib\git-log.js:46:30
  at wrappedOpener (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\src\workspace.js:578:16)
  at Workspace.module.exports.Workspace.openURIInPane (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\src\workspace.js:495:22)
  at Workspace.module.exports.Workspace.open (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\src\workspace.js:428:19)
  at atom-workspace.<anonymous> (C:\Users\theprophet31337\.atom\packages\git-log\lib\git-log.js:26:32)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\src\command-registry.js:243:29)
  at C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\src\command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\node_modules\command-palette\lib\command-palette-view.js:120:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\node_modules\atom-space-pen-views\lib\select-list-view.js:338:21)
  at space-pen-div.atom.commands.add.core:confirm (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\node_modules\atom-space-pen-views\lib\select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\src\command-registry.js:243:29)
  at C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\src\command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\node_modules\atom-keymap\lib\keymap-manager.js:558:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\node_modules\atom-keymap\lib\keymap-manager.js:396:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\Users\theprophet31337\AppData\Local\atom\app-0.184.0\resources\app\src\window-event-handler.js:182:20)

Commands

     -7:53.1 application:open-folder (atom-pane.pane.active)
     -4:22.4 project-find:show (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -4:15.0 core:confirm (atom-text-editor.editor.mini)
     -3:45.6 core:cancel (atom-pane.pane.active)
     -3:35.7 fuzzy-finder:toggle-git-status-finder (atom-pane.pane.active)
     -2:31.0 settings-view:open (atom-workspace.workspace.scrollbars-visible-always.theme-seti-syntax.theme-atom-dark-ui)
     -2:28.2 core:confirm (atom-text-editor.editor.mini)
     -0:17.6 command-palette:toggle (atom-pane.pane.active)
  2x -0:14.9 core:move-down (atom-text-editor.editor.mini)
     -0:10.6 editor:consolidate-selections (atom-text-editor.editor.mini)
     -0:10.6 core:cancel (atom-text-editor.editor.mini)
     -0:06.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:03.9 core:move-down (atom-text-editor.editor.mini)
     -0:03.4 core:move-up (atom-text-editor.editor.mini)
     -0:03.3 core:confirm (atom-text-editor.editor.mini)
     -0:03.3 git-log:show (atom-text-editor.editor.is-focused)

Config

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

Installed Packages

# User
git-projects, v1.8.1
language-gradle, v0.0.3
language-groovy, v0.3.0
linter, v0.12.0
linter-javac, v0.1.3
seti-syntax, v0.3.3
text-manipulation, v0.4.0

# Dev
No dev packages

Copied from original issue: atom/command-palette#31

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an al...

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: git-log package, v0.4.1

Stack Trace

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

At /Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:328

EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

    at eval (native)
    at Function.jQuery.extend.globalEval (/Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:328:5)
    at jQuery.fn.extend.domManip (/Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:5435:16)
    at jQuery.fn.extend.append (/Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:5218:15)
    at GitLogView.fill_content (/Users/shuaihu/.atom/packages/git-log/lib/git-log-view.js:152:25)
    at GitLogView.log_callback (/Users/shuaihu/.atom/packages/git-log/lib/git-log-view.js:73:10)
    at /Users/shuaihu/.atom/packages/git-log/lib/git-log-view.js:50:18
    at triggerExitCallback (/Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
    at /Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:220:18
    at Socket.<anonymous> (/Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:98:18)

Commands

     -0:10.7.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:07.4.0 git-log:show (atom-text-editor.editor)

Config

{
  "core": {
    "themes": [
      "seti-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages

# User
git-log, v0.4.1
pigments, v0.8.1
seti-ui, v0.7.1

# Dev
No dev packages

Problem on show log

I had trouble with this package because it didn't self-registered when Atom starts. Then I read this issue #5 and fixed that problem.
But when I do ctrl + shift + p to open git-log, this is shown.
captura de pantalla de 2014-09-29 09 50 48

Show tags

Showing tags beside their commits would be great!

Add keybindings to navigate the list of log entries

This is awesome stuff!

May I suggest to add some keybindings? Currently, I can click one of the lines in the log graph and I get some information about that commit in the bottom part of the window.

WIBNI I could navigate using the keyboard, too? Maybe some kind of cursor, then allow j/k for navigation, and Enter selects the current line like a click does.

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (c:\Users\IBM_ADMIN\AppData\Local\atom\app-0.174.0\resources\app\src\atom.js:55:11)
Object.activate (c:\Users\IBM_ADMIN\.atom\packages\git-log\lib\git-log.js:10:13)

HTML in commit title is not escaped

How to reproduce:

Using version 0.4.1, Atom 1.0.0, Ubuntu 15.04.

  • Create a commit with some HTML in it (for example, a <br>-tag)
  • View it in the log

Result:

image_2015-06-22_15-34-10
(Original commit)

HTML tags are not escaped and they are rendered.

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/usr/share/atom/resources/app/src/atom.js:54:11)
Object.activate (/home/huaraz2/.atom/packages/git-log/lib/git-log.js:10:13)

Uncaught TypeError: Cannot read property 'addRule' of null

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.176.0
System: linux 3.13.0-45-generic
Thrown From: git-log package, v0.2.0

Stack Trace

Uncaught TypeError: Cannot read property 'addRule' of null

At /home/anderson/.atom/packages/git-log/lib/git-log-view.js:110

TypeError: Cannot read property 'addRule' of null
  at GitLogView.fill_content (/home/anderson/.atom/packages/git-log/lib/git-log-view.js:110:10)
  at GitLogView.log_callback (/home/anderson/.atom/packages/git-log/lib/git-log-view.js:67:10)
  at /home/anderson/.atom/packages/git-log/lib/git-log-view.js:45:18
  at BufferedProcess.triggerExitCallback (/usr/share/atom/resources/app/src/buffered-process.js:63:47)
  at /usr/share/atom/resources/app/src/buffered-process.js:70:18
  at Socket.<anonymous> (/usr/share/atom/resources/app/src/buffered-process.js:150:18)
  at Socket.emit (events.js:129:20)
  at Pipe.close (net.js:469:12)

Commands

     -4:39.1 grammar-selector:show (atom-text-editor.editor)
 16x -4:38.1 core:move-up (atom-text-editor.editor.mini)
  3x -4:33.1 core:move-down (atom-text-editor.editor.mini)
     -4:32.1 core:confirm (atom-text-editor.editor.mini)
     -4:28.5 grammar-selector:show (atom-text-editor.editor)
  5x -4:26.6 core:move-down (atom-text-editor.editor.mini)
     -4:25.6 core:move-up (atom-text-editor.editor.mini)
     -4:25.3 core:confirm (atom-text-editor.editor.mini)
     -4:23.6 grammar-selector:show (atom-text-editor.editor)
     -4:21.4 core:confirm (atom-text-editor.editor.mini)
     -0:21.8 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:19.0 core:move-down (atom-text-editor.editor.mini)
     -0:18.6 core:move-up (atom-text-editor.editor.mini)
     -0:17.3 core:confirm (atom-text-editor.editor.mini)
     -0:17.2 git-log:show (atom-text-editor.editor.is-focused)
     -0:05.9 core:close (div.git-log.native-key-bindings)

Config

{
  "core": {
    "disabledPackages": [
      "language-objective-c",
      "language-perl",
      "wrap-guide",
      "language-c"
    ],
    "themes": [
      "seti-ui",
      "twilight"
    ],
    "projectHome": "/home/anderson/www/dev.crm.com"
  },
  "git-log": {}
}

Installed Packages

# User
color-picker, v1.4.4
docblockr, v0.5.8
git-log, v0.2.0
git-projects, v1.6.0
linter, v0.10.1
linter-jshint, v0.1.0
linter-php, v0.0.11
open-last-project, v0.1.1
regex-railroad-diagram, v0.6.3
seti-ui, v0.6.3
twilight, v0.3.0

# Dev
No dev packages

/cc @atom/core

Repository Name's Misleading

I thought this was an extension for git extension, not to be whiny, but you mind naming this atom-git-log or something? Thanks! ๐Ÿ‘

You rock

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11)
Object.activate (/Users/bblack/.atom/packages/git-log/lib/git-log.js:10:13)

Can't close the git log tab.

Hello

When I try to close the git log tab, I get the following error:

TypeError: Cannot read property 'dispose' of undefined
 at /usr/share/atom/resources/app.asar/node_modules/event-kit/lib/composite-disposable.js:25:28
 at Set.forEach (native)
 at CompositeDisposable.module.exports.CompositeDisposable.dispose (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/composite-disposable.js:24:26)
 at tabs-tab.module.exports.TabView.destroy (/usr/share/atom/resources/app.asar/node_modules/tabs/lib/tab-view.js:194:14)
 at TabBarView.module.exports.TabBarView.removeTabForItem (/usr/share/atom/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:364:15)
 at /usr/share/atom/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:174:24
 at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
 at Pane.module.exports.Pane.removeItem (/usr/share/atom/resources/app.asar/src/pane.js:379:20)
 at Pane.module.exports.Pane.destroyItem (/usr/share/atom/resources/app.asar/src/pane.js:442:16)
 at Pane.module.exports.Pane.destroyActiveItem (/usr/share/atom/resources/app.asar/src/pane.js:419:12)
 at Workspace.module.exports.Workspace.destroyActivePaneItem (/usr/share/atom/resources/app.asar/src/workspace.js:602:35)
 at Workspace.module.exports.Workspace.destroyActivePaneItemOrEmptyPane (/usr/share/atom/resources/app.asar/src/workspace.js:641:21)
 at atom-workspace.atom.commands.add.core:close (/usr/share/atom/resources/app.asar/src/workspace-element.js:314:30)
 at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:238:29)
 at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
 at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
 at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
 at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:180:20)

After this the tab is completely stuck and I can never close it again without closing the entire window. Opening git log again spawns another tab that then has the same problem.

Thanks in advance

Emoji support and Diff

Great extension, I use SourceTree myself and find this Git Log very satisfying.

Any chance to add emoji rendering for commit messages?

Also if the commit diff could be shown ala SourceTree that would be awesome.

Error when not in a working directory

If you accidentally run "Git Log:Show" when you are not in a working directory Atom will lag for a few seconds then an error will pop up.

Uncaught TypeError: Cannot read property 'getWorkingDirectory' of undefined

c:\Users\xxx\.atom\packages\git-log\lib\git-log.js:47

There should be fallback so that when you are not in a working directory you don't end up freezing Atom.

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11)
Object.activate (/Users/tiger/.atom/packages/git-log/lib/git-log.js:10:13)

Package.getStylesheetsPath is deprecated.

Store package style sheets in the styles/ directory instead of stylesheets/ in the git-log package

Package.getStylesheetsPath (/usr/share/atom/resources/app.asar/src/package.js:444:9)
Package.getStylesheetPaths (/usr/share/atom/resources/app.asar/src/package.js:455:32)
Package.loadStylesheets (/usr/share/atom/resources/app.asar/src/package.js:437:38)
<unknown> (/usr/share/atom/resources/app.asar/src/package.js:167:19)

Branches not showing up

When I run Git Log:Show it only shows one branch, the master. None of my feature or bug branches show up at all. Am I missing something or is this a bug?

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/usr/share/atom/resources/app/src/atom.js:53:11)
Object.activate (/home/nick/.atom/packages/git-log/lib/git-log.js:10:13)

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/home/mengz/opt/atom/share/atom/resources/app/src/atom.js:54:11)
Object.activate (/home/mengz/.atom/packages/git-log/lib/git-log.js:10:13)

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.