From 54a05fc167904c97a3bcbc2aeb4afdb5ad35a379 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 20 Oct 2023 11:16:25 +0100 Subject: always re-generate .git in lbmk in release archives, .git is excluded but the version and versiondate files are included. from these, the git history is re-created with the exact date (but not taking into account timezone, at present). in this way, lbmk will have git history in a release archive. some build systems, like coreboot, prefer that there be git history available, so this is a nice workaround on those build systems. Signed-off-by: Leah Rowe --- build | 1 + 1 file changed, 1 insertion(+) (limited to 'build') diff --git a/build b/build index 80ee1827..4ade5e7e 100755 --- a/build +++ b/build @@ -46,6 +46,7 @@ main() check_git check_project "fail" + git_init xx_ fail execute_command $@ lbmk_exit 0 -- cgit v1.2.1