gitHistoryVSCode icon indicating copy to clipboard operation
gitHistoryVSCode copied to clipboard

"compare against previous version" is failed

Open admin9527a opened this issue 8 years ago • 18 comments

git show b49bf37fb1ea6a833b82146a4ef973938663227c:C:/g:/workspace/discuz/home.php (completed in 0.078s) fatal: Path 'C:/g:/workspace/discuz/home.php' does not exist in 'b49bf37fb1ea6a833b82146a4ef973938663227c'

My local code repository in Path g:/ ,not C:/.but when I click "compare against previous version",the outline show errors as above. How can I fixed it?

admin9527a avatar Jul 25 '18 03:07 admin9527a

image

admin9527a avatar Jul 25 '18 03:07 admin9527a

I'm going through the same situation

androidealp avatar Jul 25 '18 19:07 androidealp

for me its the same

jan-lehmkuhl avatar Jul 26 '18 15:07 jan-lehmkuhl

Unfortunately, I'm having the same problem. For some reason, the extensions appears to be appending a "C:" to the path.

cspears2002 avatar Jul 26 '18 22:07 cspears2002

Don't know if this is the same situation but here's what I'm getting

git show 0baf4d13335bea6ddf4ec987a8ec429a78861f68:../../../../../c:/Users/Fred/repo/item.component.html  (completed in 0.048s)
fatal: '../../../../../c:/Users/Fred/repo/item.component.html' is outside repository

GaryB432 avatar Jul 29 '18 15:07 GaryB432

I have the same issue

git log --pretty=oneline -n1 a0b70e5935eeb3fb8ad18ae9b31842b75de2fad0  (completed in 10.108s)
git show --pretty=oneline --decorate=full --numstat a0b70e5935eeb3fb8ad18ae9b31842b75de2fad0  (completed in 0.135s)
git show --numstat --pretty=oneline -M a0b70e5935eeb3fb8ad18ae9b31842b75de2fad0  (completed in 0.125s)
git show --name-status --pretty=oneline -M a0b70e5935eeb3fb8ad18ae9b31842b75de2fad0  (completed in 0.106s)
git remote get-url origin  (completed in 0.207s)
git remote get-url origin  (completed in 0.29s)
git log --pretty=oneline a0b70e5935eeb3fb8ad18ae9b31842b75de2fad0^1 -n 1 -- C:\d:\git\ZIS-CA-Groupware\SP.Team.App.eSign2.0\system\pscBAF\pscBAF\TimerJobsConfiguration\TJ_eSign2.0_DeleteNotStartedWorkflows.xml  (completed in 0.095s)
fatal: Invalid path 'C:/d:': No such file or directory

git show a0b70e5935eeb3fb8ad18ae9b31842b75de2fad0:C:/d:/git/ZIS-CA-Groupware/SP.Team.App.eSign2.0/system/pscBAF/pscBAF/TimerJobsConfiguration/TJ_eSign2.0_DeleteNotStartedWorkflows.xml  (completed in 0.101s)
fatal: Path 'C:/d:/git/ZIS-CA-Groupware/SP.Team.App.eSign2.0/system/pscBAF/pscBAF/TimerJobsConfiguration/TJ_eSign2.0_DeleteNotStartedWorkflows.xml' does not exist in 'a0b70e5935eeb3fb8ad18ae9b31842b75de2fad0'

Version: 1.26.0-insider Commit: 5fae91d61f12726e149fe5baed342eac2fbf8f88 Date: 2018-07-25T02:04:01.629Z Electron: 2.0.5 Chrome: 61.0.3163.100 Node.js: 8.9.3 V8: 6.1.534.41 Architecture: x64

petval avatar Jul 30 '18 06:07 petval

for me its the same. It`s can be fixed ?

yly24 avatar Aug 02 '18 02:08 yly24

me too

image

seblee avatar Aug 03 '18 03:08 seblee

Compare against previous version doesn't work for me either. Previously it worked. It prepends .... to path.

git log --pretty=oneline c0682f102812598d129d3aebd34b4215ba2b2dd3^1 -n 1 -- ....\c:\dev\koseven\composer.json (completed in 0.113s) fatal: ....\c:\dev\koseven\composer.json: '....\c:\dev\koseven\composer.json' is outside repository

zsoltpuskas avatar Aug 04 '18 03:08 zsoltpuskas

Had same problem, my repo is at D:\GIT and when I tried to use "Compare against previous version" it append "c:/" at the begining of the file path. image image

tgiacaman avatar Aug 07 '18 13:08 tgiacaman

Same here.

tonyoldfield avatar Aug 10 '18 07:08 tonyoldfield

me too

kerhbal avatar Aug 12 '18 01:08 kerhbal

dup with #307

ole1986 avatar Aug 29 '18 18:08 ole1986

I get this problem too. Oddly, if I click a option compare a few times, it will eventually work.

bzuillsmith avatar Sep 19 '18 21:09 bzuillsmith

Almost 8 weeks. I’m wondering if this project is being maintained

GaryB432 avatar Sep 20 '18 00:09 GaryB432

I believe he mentioned in notes on a pull request that he's been away on holiday but that was 26 days ago. Maybe he's in a European country where they take months off at a time?

Either way, this is a pretty important extension. It would be nice if he had a back up maintainer. :)

RevFry avatar Sep 20 '18 00:09 RevFry

Could benefit from Hacktoberfest, too.

RevFry avatar Sep 20 '18 00:09 RevFry

This should finally be fixed with version 0.4.3

ole1986 avatar Oct 01 '18 20:10 ole1986