profile
viewpoint
Michael Hutchison mhutchie Sydney, Australia Software Engineer | vscode-git-graph

mhutchie/vscode-git-graph 704

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.

mhutchie/update-milestone-on-release 2

A GitHub action that updates and closes milestones automatically when a matching release is published.

mhutchie/remoteit-api-clients 1

A collection of API clients providing integration with remote.it API's, in a variety of programming languages.

issue openedmhutchie/vscode-git-graph

add - copy last tag to clipboard

Describe the feature that you'd like Follow this discussion, I found the implementation you did really usefull, thx for that.

Would it be possible to, when the user click on the i button, to copy it into the Name: fields?

  • Then it won't be The last used tag is v1.2.3 but past the last tag: v1.2.3
  • The icon may stay the same, or be something like this
    • image
    • image

image

Additional context (optional) It will make the workflow a little bit faster and I wont makes the UI more complex.

created time in an hour

startedmhutchie/vscode-git-graph

started time in a day

startedmhutchie/vscode-git-graph

started time in 3 days

startedmhutchie/vscode-git-graph

started time in 4 days

startedmhutchie/vscode-git-graph

started time in 4 days

issue openedmhutchie/vscode-git-graph

Ctrl+Tab away from git graph prevents copying of code problem message

Describe the Bug This is a subtle one.

If I <kbd>Ctrl</kbd>+<kbd>Tab</kbd> from the extension tab to an editor tab which has "problems" identified by a linter/language server, I can't copy the problem message from the hover/peek problem dialog. I can only copy the message if I click on the editor tab instead of using <kbd>Ctrl</kbd>+<kbd>Tab</kbd>.

Steps to Reproduce Steps to reproduce the behaviour:

  1. Have a repo or workspace with an editor tab (i.e. a code file open) and the git graph tab open.
  2. Make a "problem" in the code, e.g. unused variable or undefined variable that gets picked up as a warning/error by a linter/language server and underlined with a squigly line.
  3. Go to the git graph tab.
  4. Use <kbd>Ctrl</kbd>+<kbd>Tab</kbd> to switch to the code file again.
  5. Hover over the squigly line and when the hover dialog appears with the linter problem, try to select and <kbd>Ctrl</kbd>+<kbd>C</kbd> the message (or click on "peek problem" and try the same).

Expected Behaviour The text you select should be copied to the clipboard.

Actual Behaviour Nothing gets copied to the clipboard.

Environment

Version: 1.51.1
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-10T23:31:29.624Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 3.10.0-1160.11.1.el7.x86_64

Screenshots (optional)

Here's what I mean by selecting text from the problem message:

image

Additional Context (optional)

  • If I explicitly click on the editor tab instead of using <kbd>Ctrl</kbd>+<kbd>Tab</kbd>, then I get the expected behaviour.
  • I have tried <kbd>Ctrl</kbd>+<kbd>Tab</kbd>ing from other editor tabs to the one with the problem, and I get the expected behaviour - the bug only seems to occur for tabbing away from git graph
  • Could this be a keyboard focus issue?

created time in 4 days

fork muz3/vscode-git-graph

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.

https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph

fork in 5 days

startedmhutchie/vscode-git-graph

started time in 5 days

issue commentmhutchie/vscode-git-graph

extension fails if you have showSignature enabled in git settings

thanks for the super fast fix @mhutchie !

k-yle

comment created time in 6 days

issue openedmhutchie/vscode-git-graph

extension fails if you have showSignature enabled in git settings

Describe the Bug

In your ~/.gitconfig file, add this:

[log]
  showSignature = true

and now the extension doesn't work at all, it just renders a blank screen (see screenshot below)

Steps to Reproduce Steps to reproduce the behaviour:

  1. open ~/.gitconfig in an editor

  2. add this:

    [log]
       showSignature = true
    
  3. try to open the extension

  4. note how that it's blank (see screenshot below)

Expected Behaviour

it should work

Environment

  • Git Graph Extension Version: 1.28.0
  • Visual Studio Code Version: 1.52.1
  • Operating System: Windows 10

Screenshots (optional)

image

Additional Context (optional) Add any other context about the problem here.

when you enable showSignature = true it makes the git log really ugly because it prints the GPG signature details for each signed comment

image

presumably this extension should provide a flag to git log to override the user settings for showSignature

created time in 6 days

startedmhutchie/vscode-git-graph

started time in 9 days

startedmhutchie/vscode-git-graph

started time in 9 days

startedmhutchie/vscode-git-graph

started time in 10 days

startedmhutchie/vscode-git-graph

started time in 10 days

issue openedmhutchie/vscode-git-graph

Issue Linking: Support for Multiple Issue Tracking System

Describe the feature that you'd like Add the possibility to configure multiple Issue Tracking System.

Additional context My team is using two Issue Tracking Systems and it would be useful to add a list of pair of Issue Regex and Issue URL. This would let us match multiple IDs and for each matched ID use the URL for the correct Issue Tracking System.

created time in 10 days

issue commentmhutchie/vscode-git-graph

Unable to load commits

Here is my output image

I also not quire following your regarding mingw64. I am using Windows, so I had to install Git Bash, which I suppose is using mingw64?

PowerShell show the same result as bash image

atinyakov

comment created time in 10 days

issue commentmhutchie/vscode-git-graph

Unable to load commits

Thank you for responce,

I have executed all the provided commands, and it seems that there are no failures here, see: image

atinyakov

comment created time in 10 days

fork LadenxxxxD/vscode-git-graph

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.

https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph

fork in 10 days

startedmhutchie/vscode-git-graph

started time in 11 days

issue openedmhutchie/vscode-git-graph

Unable to load commits

Describe the Bug Error: Unable to load commits fatal: bad revision 'Head'

on any work directory I have

Steps to Reproduce Steps to reproduce the behaviour:

  1. Click on 'Git Graph' in VS Code pane
  2. See error

Expected Behaviour No error

Environment

  • Git Graph Extension Version: 1.28.0
  • Visual Studio Code: 1.52.1
  • Operating System: Windows 8.1

Screenshots (optional) image

created time in 11 days

fork klikli-dev/update-milestone-on-release

A GitHub action that updates and closes milestones automatically when a matching release is published.

fork in 11 days

startedmhutchie/vscode-git-graph

started time in 12 days

startedmhutchie/vscode-git-graph

started time in 13 days

startedmhutchie/vscode-git-graph

started time in 13 days

issue openedmhutchie/vscode-git-graph

Refresh the UI even when a post-checkout hook failed

Describe the Bug The UI doesn't refresh when a Git post-checkout hook fails. Also, the dialog says that it was "Unable to Checkout Branch".

Steps to Reproduce Steps to reproduce the behaviour:

  1. Create a post-checkout hook (.git/hooks/post-checkout), e.g.
#!/usr/bin/env sh

echo "Some error message from the post-checkout hook"
exit 1

  1. Checkout some branch
  2. See a dialog saying "Unable to Checkout Branch"
  3. Dismiss the dialog
  4. See that the UI didn't refresh

Expected Behaviour Actually, the branch was checked out. Git Graph should just display the output of the hook.

The Git documentation says:

This hook cannot affect the outcome of git switch or git checkout, other than that the hook’s exit status becomes the exit status of these two commands.

Environment

  • Git Graph Extension Version: 1.28.0
  • Visual Studio Code Version: 1.52.1
  • Operating System: macOS 11.1

Screenshots (optional) image

created time in 13 days

startedmhutchie/vscode-git-graph

started time in 13 days

startedmhutchie/vscode-git-graph

started time in 13 days

startedmhutchie/vscode-git-graph

started time in 14 days

startedmhutchie/vscode-git-graph

started time in 15 days

startedmhutchie/vscode-git-graph

started time in 15 days

more