Skip to content

Opening image file from source control is broken #72640

@rasmusgo

Description

@rasmusgo

Issue Type: Bug

Steps to reproduce

  1. Create a png file in a folder with git source control.
  2. Click the "Open file" icon next to the file name in source control view.

Actual results

A dialog appears "Git: cannot open ... Detail: File seems to be binary and cannot be opened as text"

Expected results

The file is opened as if it was opened from the explorer view.

VS Code version: Code - Insiders 1.34.0-insider (750680d, 2019-04-19T19:59:19.092Z)
OS version: Darwin x64 18.5.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: unavailable_off
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 4, 3, 2
Memory (System) 16.00GB (0.05GB free)
Process Argv -psn_0_770236
Screen Reader no
VM 0%
Extensions: none

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buggitGIT issuesgood first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions