mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 09:32:27 +02:00
.gitcheck clean: clean coreboot directories too
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -47,6 +47,23 @@ set_git_credentials()
|
|||||||
}
|
}
|
||||||
|
|
||||||
clean()
|
clean()
|
||||||
|
{
|
||||||
|
unset_placeholders
|
||||||
|
|
||||||
|
if [ ! -d coreboot ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
for x in coreboot/*; do
|
||||||
|
if [ ! -d "${x}" ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
cd "${x}"
|
||||||
|
unset_placeholders
|
||||||
|
cd -
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
unset_placeholders()
|
||||||
{
|
{
|
||||||
if [ "$(git config user.name)" = "${git_name}" ]; then
|
if [ "$(git config user.name)" = "${git_name}" ]; then
|
||||||
git config --unset user.name
|
git config --unset user.name
|
||||||
|
|||||||
Reference in New Issue
Block a user