summaryrefslogtreecommitdiff
path: root/profiles/targets/hacking/profile.bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/targets/hacking/profile.bashrc')
-rw-r--r--profiles/targets/hacking/profile.bashrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/profiles/targets/hacking/profile.bashrc b/profiles/targets/hacking/profile.bashrc
new file mode 100644
index 0000000..ed0c56e
--- /dev/null
+++ b/profiles/targets/hacking/profile.bashrc
@@ -0,0 +1,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"
+}