Skip to content

Windows apply_patch fails #10360

@Happy-DJ

Description

@Happy-DJ

Description

Title: [BUG] apply_patch fails on Windows with Git Bash - path truncation

Environment:

  • OpenCode version: 1.1.34
  • OS: Windows 10/11
  • Shell: Git Bash
  • Client: Desktop

Description:
When using apply_patch tool, the file path gets truncated.

Error:

Plugins

No response

OpenCode version

1.1.34

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

windows11

Terminal

Desktop、powerShell

Image

正确路径为 D:\Root\twinUpgrade\simulationPython\frontend\src\views\ScenarioView.vue

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions