git_commit_state() { test -z "$GITIFY" && return pushd "${S}" || return test -d .git || git init git config user.name "Anna (navi) Figueiredo Gomes" git config user.email "navi@vlhl.dev" git add . git commit -a -s -m "$@" popd || return } post_src_unpack() { git_commit_state "unpacked" } post_src_prepare() { git_commit_state "prepared" }