]> code.ossystems Code Review - openembedded-core.git/commit
classes/buildhistory: do git garbage collection after committing
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 2 Dec 2013 18:50:51 +0000 (18:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Dec 2013 12:44:48 +0000 (12:44 +0000)
commit4a45a999e0ad2e99581428a5a6d34f483c00544f
treeffc35e910c9a184e7391b80a2145928c6ae50b52
parent540a2a30be21c3eca4323efbe91e7dcfc31a4c97
classes/buildhistory: do git garbage collection after committing

We don't normally perform any operations (such as "git pull") that
trigger "git gc --auto", thus garbage collection never happens which
means performance of accessing the repository degrades noticeably over
time. Add an explicit "git gc --auto" to clean things up when needed.

Thanks to Elijah Newren and Ross Burton for suggesting this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass