From 77723bb0fab0ff222127cc4f77e19e648f7c8072 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 27 Sep 2008 15:04:54 +0200 Subject: pkg: Use .autocommit for automatic commits --- bin/pkg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') 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' + } } } -- cgit v1.2.3