You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem Description:
In Visual Studio Code’s source control view, all files in the repository appear as if they are entirely new: the left side of the diff view is empty, while the right side shows the entire file in green, as if it was newly added. This issue does not occur in other Git applications, such as GitKraken or the command line, where changes are displayed correctly.
System and Setup:
• Operating System: macOS
• Visual Studio Code Version: 1.95.2
Steps to Reproduce:
1. Open the project in Visual Studio Code.
2. Make some edits to files (adding, removing, or modifying lines).
3. Go to the source control panel to review the diffs.
Expected Behavior:
The source control view should display only actual changes: removed lines in red on the left and added lines in green on the right.
Observed Behavior:
Every edited file appears as if it were completely new: the left side of the diff view is blank, while the right side shows the entire file in green.
Troubleshooting Steps Taken:
• Disabled and re-enabled Git: Enabled in Settings.
• Fully uninstalled and reinstalled Visual Studio Code.
• Cleared Git cache in Visual Studio Code.
• Tried different configurations for core.autocrlf.
• Verified and adjusted line-ending settings (CRLF/LF) in the repository and in VS Code.
• Started VS Code without user configurations (code --user-data-dir="").
Results of Testing in Other Applications:
This issue does not occur in other Git tools:
• GitKraken: Changes are displayed correctly.
• Git command line: git diff and other commands show the changes accurately.
Suspected Error or Area of Impact:
This might be an issue in Visual Studio Code’s Git integration on macOS or related to how VS Code manages line endings and formatting changes when calculating diffs.
Thank you for any guidance or solution that could help resolve this issue.
VS Code version: Code 1.95.2 (Universal) (e865366, 2024-11-07T11:07:22.054Z)
OS version: Darwin arm64 24.0.0
Modes:
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.95.3. Please try upgrading to the latest version and checking whether this issue remains.
Type: Bug
Problem Description:
In Visual Studio Code’s source control view, all files in the repository appear as if they are entirely new: the left side of the diff view is empty, while the right side shows the entire file in green, as if it was newly added. This issue does not occur in other Git applications, such as GitKraken or the command line, where changes are displayed correctly.
System and Setup:
• Operating System: macOS
• Visual Studio Code Version: 1.95.2
Steps to Reproduce:
1. Open the project in Visual Studio Code.
2. Make some edits to files (adding, removing, or modifying lines).
3. Go to the source control panel to review the diffs.
Expected Behavior:
The source control view should display only actual changes: removed lines in red on the left and added lines in green on the right.
Observed Behavior:
Every edited file appears as if it were completely new: the left side of the diff view is blank, while the right side shows the entire file in green.
Troubleshooting Steps Taken:
• Disabled and re-enabled Git: Enabled in Settings.
• Fully uninstalled and reinstalled Visual Studio Code.
• Cleared Git cache in Visual Studio Code.
• Tried different configurations for core.autocrlf.
• Verified and adjusted line-ending settings (CRLF/LF) in the repository and in VS Code.
• Started VS Code without user configurations (code --user-data-dir="").
Results of Testing in Other Applications:
This issue does not occur in other Git tools:
• GitKraken: Changes are displayed correctly.
• Git command line: git diff and other commands show the changes accurately.
Suspected Error or Area of Impact:
This might be an issue in Visual Studio Code’s Git integration on macOS or related to how VS Code manages line endings and formatting changes when calculating diffs.
Thank you for any guidance or solution that could help resolve this issue.
VS Code version: Code 1.95.2 (Universal) (e865366, 2024-11-07T11:07:22.054Z)
OS version: Darwin arm64 24.0.0
Modes:
System Info
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (15)
A/B Experiments
The text was updated successfully, but these errors were encountered: