Log git diff inside submodules (#34469)

get diffs inside submodules
This commit is contained in:
Shane Smiskol
2025-01-24 16:27:24 -08:00
committed by GitHub
parent 45276652b8
commit 540c45bfec
+1 -1
View File
@@ -172,7 +172,7 @@ def init_overlay() -> None:
run(["sudo"] + mount_cmd)
run(["sudo", "chmod", "755", os.path.join(OVERLAY_METADATA, "work")])
git_diff = run(["git", "diff"], OVERLAY_MERGED)
git_diff = run(["git", "diff", "--submodule=diff"], OVERLAY_MERGED)
params.put("GitDiff", git_diff)
cloudlog.info(f"git diff output:\n{git_diff}")