Skip to content

Local history: does not preserve entries from previously deleted file #212386

@Pyrolistical

Description

@Pyrolistical

Type: Bug

  1. Create file foo.txt with some content. Save it
  2. Delete foo.txt
  3. Create bar.txt
  4. Rename bar.txt to foo.txt
  5. Look at TIMELINE
  6. See no history for foo.txt created in step 1.

Normally when one recreates foo.txt you can still see history for it. But in the case where a file is renamed to foo.txt, the history is loss.

VS Code version: Code 1.89.1
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 5800X3D 8-Core Processor (16 x 3400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 31.92GB (16.35GB free)
Process Argv --crash-reporter-id cca6ff05-6383-4d91-895f-0091516fe9b0
Screen Reader no
VM 0%
Extensions: none

Metadata

Metadata

Assignees

Labels

author-verification-requestedIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberinsiders-releasedPatch has been released in VS Code Insiderstimeline-local-historyverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions