We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df8647d commit 52c2e36Copy full SHA for 52c2e36
scripts/sbom/sbom.bash
@@ -728,7 +728,7 @@ sbom_generate() {
728
729
sbom_diff() {
730
local chart_name chart_version found_diff location
731
- mapfile -t diff_files < <(git diff --name-only | grep "helmfile.d/")
+ mapfile -t diff_files < <(git diff --staged --name-only | grep "helmfile.d/")
732
mapfile -t all_charts < <(sbom_get_charts "${SBOM_FILE}")
733
734
for chart in "${all_charts[@]}"; do
0 commit comments