Download batch change diff file
#31.551 geöffnet am 21.02.2022
Repository-Metriken
- Stars
- (10.290 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
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.