-
Notifications
You must be signed in to change notification settings - Fork 421
Expand file tree
/
Copy path.gitattributes
More file actions
14 lines (13 loc) · 994 Bytes
/
Copy path.gitattributes
File metadata and controls
14 lines (13 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# The dashboard SPA bundle under internal/api/dashboardspa/dist is emitted by the
# Vite build and embedded into the gc binary. Treat it as generated output: skip
# textual diffing and the whitespace lint (`git diff --check`) on the minified
# assets, and collapse it in review UIs. Drift is still caught by the content-based
# `git diff --quiet -- internal/api/dashboardspa/dist` gate in the Makefile.
internal/api/dashboardspa/dist/** -diff linguist-generated
# The typed Go API client under internal/api/genclient/client_gen.go is emitted by
# oapi-codegen (its header says "DO NOT EDIT") from the OpenAPI spec. Treat it as
# generated output like the SPA bundle above: skip textual diffing and the
# whitespace lint on the machine-generated source, and do not attribute its shape
# to authored complexity. Drift is still caught by content-based build/regeneration
# gates, since a blob-hash change is detected even with -diff.
internal/api/genclient/client_gen.go -diff linguist-generated