sourcegraph/sourcegraph-public-snapshot

Download batch change diff file

Aberta

#31.551 aberto em 21 de fev. de 2022

 (0 comentário) (0 reação) (0 responsável)Go (1.374 forks)auto 404
batch-changesgood first issue

Métricas do repositório

Stars
 (10.290 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Customer problem

Is there any way to download a patch file for what a sourcegraph batch would create? If I look in the UI for the batch preview I see some alignment issues, as you can seen in the image attached. There's seemingly a linebreak and an indentation difference. I suspect this is the sourcegraph UI introducing that due to line wrapping, but I don't see any way that I could tell if that is the case or not. I could fire off the batch update and hope it's correct of course.

Users probably want to download the file and not just the diff

We explored a quickfix here https://github.com/sourcegraph/sourcegraph/issues/29709 but it turned out to be not easily feasible.

There is a workaround today: applying the batch change for a few repositories to test things out, and then re-applying the full batch change. But it's not great.

Guia do colaborador