blob: ed0c56ee9d2b886619bb8a8de8248ce9d73bd062 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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"
}
|