create-pull-request/src
Graham Christensen dd2324fc52
fix: use showFileAtRefBase64 to read per-commit file contents (#3744)
* GitCommandManager: add a function to get a file's contents at a specific revision

* use showFileAtRef instead of readFileBase64

* Teach GitCommandManager.exec about an object of exec parameters so we can add more

* Encode the showFiletRef output as base64 out of the gate

* Fix missing async for function

* Use Buffer.concat to avoid issues with partial data streams

* formatting

---------

Co-authored-by: gustavderdrache <alex.ford@determinate.systems>
2025-02-24 03:36:54 -08:00
..
create-or-update-branch.ts fix: use showFileAtRefBase64 to read per-commit file contents (#3744) 2025-02-24 03:36:54 -08:00
create-pull-request.ts fix: use showFileAtRefBase64 to read per-commit file contents (#3744) 2025-02-24 03:36:54 -08:00
git-command-manager.ts fix: use showFileAtRefBase64 to read per-commit file contents (#3744) 2025-02-24 03:36:54 -08:00
git-config-helper.ts feat: v6 (#2717) 2024-01-31 11:06:34 +00:00
github-helper.ts fix: use showFileAtRefBase64 to read per-commit file contents (#3744) 2025-02-24 03:36:54 -08:00
main.ts feat: signed commits (v7) (#3057) 2024-09-03 08:54:12 +01:00
octokit-client.ts chore: use node-fetch-native support for proxy env vars (#3483) 2024-11-04 04:59:34 -08:00
utils.ts fix: use showFileAtRefBase64 to read per-commit file contents (#3744) 2025-02-24 03:36:54 -08:00