From e11cf39bf9e1282d00a1f1389e402520c997bdcb Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 2 Dec 2024 23:17:31 +0000 Subject: buildhistory: Drop git-gc call as obsolete buildhistory used to result in many individual objects in the repo which could affect performance. This gc call was added over a decade ago to avoid those performance issues. Modern git calls git-gc when needed and this kind of workaround should no longer be needed. There is a small chance this is contributing to problems with the autobuilder buildhistory repositories, so simplifying the code may help that too. (From OE-Core rev: 0a88f9109f7670a6b188463a19392d445af6ff40) Signed-off-by: Richard Purdie --- meta/classes/buildhistory.bbclass | 1 - 1 file changed, 1 deletion(-) (limited to 'meta/classes') diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index ce3abaa69d..d735dd5fb5 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass @@ -877,7 +877,6 @@ END # Porcelain output looks like "?? packages/foo/bar" # Ensure we commit metadata-revs with the first commit buildhistory_single_commit "$CMDLINE" "$HOSTNAME" dummy - git gc --auto --quiet else buildhistory_single_commit "$CMDLINE" "$HOSTNAME" fi -- cgit v1.2.3-54-g00ecf