Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false -c log.showSignature=false log --name-status --format=%x3cr%x3e%x20%H -n1 --follow --name-status #751

Closed
sixclones opened this issue May 20, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@sixclones
Copy link

commented May 20, 2019

Hello,

I have an issue when I try to compare changes with previous revision.

  • GitLens Version: 9.7.4
  • VSCode Version: 1.33
  • OS Version: Ubuntu 19.04

Steps to Reproduce:

  1. Click on "Open Changes With Previous Revision" button.
  2. Open Output Channel.

Logs

[2019-05-20 12:52:22:356] [898] GitUri.fromUri — e=Uri(file:///home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module)
[2019-05-20 12:52:22:356] [899] GitService.getRepoPath — e=Uri(file:///home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module)
[2019-05-20 12:52:22:356] [89a] GitService.getRepository — e=Uri(file:///home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module), t={"skipCacheUpdate":true}
[2019-05-20 12:52:22:357] [89a] GitService.getRepository returned undefined • 0 ms
[2019-05-20 12:52:22:379] [/home/roch/workspace/num-site/web/modules/numeridanse/num_pages] git rev-parse --show-toplevel • 21 ms 
[2019-05-20 12:52:22:379] [899] GitService.getRepoPath returned /ssd/num-site • 22 ms
[2019-05-20 12:52:22:379] [898] GitUri.fromUri returned GitUri(file:///home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module repoPath=/ssd/num-site) • 22 ms
[2019-05-20 12:52:22:379] [89b] GitService.getPreviousDiffUris — e=/ssd/num-site, t=GitUri(file:///home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module repoPath=/ssd/num-site), i=undefined, o=0
[2019-05-20 12:52:22:379] [89c] GitService.getStatusForFile — e=/ssd/num-site, t=../../home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module
[2019-05-20 12:52:22:395] [/ssd/num-site] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false -c color.status=false status --porcelain=v2 --find-renames= -- ../../home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module • ../../home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module: '../../home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module' is outside repository • 14 ms
[2019-05-20 12:52:22:395] [/ssd/num-site] git status --porcelain=v2 --find-renames= -- ../../home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module • 15 ms 
[2019-05-20 12:52:22:395] [89d] GitStatusParser.parse completed • 0 ms
[2019-05-20 12:52:22:395] [89c] GitService.getStatusForFile completed • 15 ms
[2019-05-20 12:52:22:395] [89e] GitService.getPreviousUri — e=/ssd/num-site, t=GitUri(file:///home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module repoPath=/ssd/num-site), i=undefined, o=0
[2019-05-20 12:52:22:407] [/ssd/num-site] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false -c log.showSignature=false log --name-status --format=%x3cr%x3e%x20%H -n1 --follow --name-status -- ../../home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module • ../../home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module: '../../home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module' is outside repository • 11 ms
[2019-05-20 12:52:22:407] [/ssd/num-site] git log --name-status --format=%x3cr%x3e%x20%H -n1 --follow --name-status -- ../../home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module • 11 ms 
[2019-05-20 12:52:22:407] [89e] GitService.getPreviousUri completed • 11 ms
[2019-05-20 12:52:22:407] [89b] GitService.getPreviousDiffUris — failed • 27 ms
TypeError: Cannot read property 'sha' of undefined
[2019-05-20 12:52:22:407] DiffWithPreviousCommand — getPreviousDiffUris(/ssd/num-site, /home/roch/workspace/num-site/web/modules/numeridanse/num_pages/num_pages.module, undefined)
TypeError: Cannot read property 'sha' of undefined
[2019-05-20 12:52:22:407] ShowMessage(error, 'Unable to open compare. See output channel for more details', undefined, null)
[2019-05-20 12:52:22:423] ShowMessage(error, 'Unable to open compare. See output channel for more details', undefined, null) returned undefined

@eamodio eamodio added the type: bug label Jun 5, 2019

@eamodio eamodio added this to the Soon™ milestone Jun 5, 2019

@eamodio eamodio self-assigned this Jun 5, 2019

eamodio added a commit that referenced this issue Jun 7, 2019

@eamodio eamodio closed this in 10f46a1 Jun 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.