summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-27 15:04:54 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-27 15:04:54 +0200
commit77723bb0fab0ff222127cc4f77e19e648f7c8072 (patch)
tree3c7e0c549b22cbc56596c5ce0edcfaeda8b0449c /bin
parenta67d6ff08cab805785f12c4d5e7100766d8a0d7b (diff)
pkg: Use .autocommit for automatic commits
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index 4d3b2e1..b23c346 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -517,6 +517,10 @@ pkg_status () {
clear_line
info "$1:\n"
echo $vcs_status
+ if [[ -r .autocommit ]] {
+ git add .
+ git commit -m 'autocommit by pkg'
+ }
}
}