github / github/app

Worktree configuration not respected

Abierto
#2,624 2 comentarios 1 reacción 1 asignado Reclamado por @Chuxel Ver en GitHub
Bugs triage
Lenguaje dominante
Sin datos de lenguaje
Estrellas
2.1k
Forks
153
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Short summary

Even though `Worktree location` is configured as `Next to repository`, a worktree was created under `.copilot` in my home directory

### Affected version or release

v1.1.4

### Installation context

Installed on Windows 11, working against a public GitHub project checked out in my WSL Ubuntu environment

### What happened?

Worktree was not created at the expected location; it seemed to ignore the configuration entirely.

### Steps to reproduce

First I changed my GitHub Copilot App configuration to check out worktrees _beside_ the main repo:

Image

Then I added an existing repo checkout from my WSL Ubuntu environment

```
/home/bevan/github/azure-service-operator
```

Finally, I started a new session within that project, asking Copilot to make a simple change (mostly as a test).

The session promptly created a worktree in the wrong place:

Image

The full path used is:
```
/home/bevan/.copilotd/worktrees/wsl:Ubuntu/azure-service-operator/theunrepentantgeek-fluffy-dollop
```

### Expected behavior

I expected the worktree to be located at

/home/bevan/github/azure-service-operator-worktrees/theunrepentantgeek-fluffy-dollop

(Side note: A useful branch name would be much preferred to this kind of noise. It's better than a GUID but only barely.)

### Additional context

_No response_

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.