8
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

SourceTreeの内臓Gitのバージョンが上がらなかった話

Posted at

SourceTreeの脆弱性が見つかったのでアップデートを行うことに

Sourcetree Security Advisory 2018-01-24

SourceTreeのアップデートを行い、内臓GitのバージョンもSourceTreeから上げようとしたところ以下のエラーがでて更新ができず戸惑う

SnapCrab_NoName_2018-1-30_12-22-31_No-00.png
SnapCrab_NoName_2018-1-30_12-18-30_No-00.png

エラー全文


7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

Scanning the drive for archives:
1 file, 37727272 bytes (36 MiB)

Extracting archive: C:\Users\****\AppData\Local\Atlassian\SourceTree\PortableGit.7z
WARNING:
C:\Users\****\AppData\Local\Atlassian\SourceTree\PortableGit.7z
Can not open the file as [7z] archive
The file is open as [PE] archive

--
Path = C:\Users\****\AppData\Local\Atlassian\SourceTree\PortableGit.7z
Open WARNING: Can not open the file as [7z] archive
Type = PE
Physical Size = 37727272
CPU = x86
Characteristics = Executable 32-bit
Created = 2017-04-06 07:33:08
Headers Size = 1024
Checksum = 37781750
Name = 7zS.sfx.exe
Image Size = 503808
Section Alignment = 4096
File Alignment = 512
Code Size = 382976
Initialized Data Size = 106496
Uninitialized Data Size = 0
Linker Version = 14.10
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = Relocated NX-Compatible TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 4194304
Comment = FileVersion: 16.4.0.0
FileVersion: 16.04
ProductVersion: 16.4.0.0
ProductVersion: 16.04
CompanyName: Igor Pavlov
FileDescription: 7z Setup SFX
InternalName: 7zS.sfx
LegalCopyright: Copyright (c) 1999-2016 Igor Pavlov
OriginalFilename: 7zS.sfx.exe
ProductName: 7-Zip
----
Path = [0]
Size = 37242768
Packed Size = 37242768
Virtual Size = 37242768
Offset = 477184
--
Path = [0]
Type = 7z
Offset = 515
Physical Size = 37242246
Tail Size = 7
Headers Size = 61691
Method = LZMA:27 BCJ2
Solid = +
Blocks = 2


Sub items Errors: 6

Archives with Errors: 1

Sub items Errors: 6

解決方法

git_localフォルダを消すことで解決

Unable to update embedded Git

  1. PC再起動
C:\Users\ユーザー名\AppData\Local\Atlassian\SourceTree\git_local

をフォルダごと削除
3. SourceTree起動
4. オプションのGitから内臓Gitを更新

8
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?