From f6338064ab518ac6c9b5f3402ac2e5eec9b63368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 7 Jul 2025 11:03:10 +0200 Subject: [PATCH] Git-ignore temporary files from mockgen Ignore files that can linger when [mockgen][1] fails to generate code. They are indeed not meant to be committed. [1]: https://github.com/golang/mock) --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 29b56aec..b4ba2675 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,10 @@ flamenco-worker-credentials.yaml node_modules/ /vendor/ +# Mockgen creates those files temporarily, and they can linger when it +# fails to run properly. They should never be committed to Git. +gomock_reflect_* + # Directory for custom job compiler scripts: /scripts/