From 1c61b2d46b2d19db3251f7ca73e3621164a38ca4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 18 Jun 2015 11:36:51 +0200 Subject: Use -A git add option to also remove files during commit --- commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commit.sh b/commit.sh index 6a0e401..464d82f 100755 --- a/commit.sh +++ b/commit.sh @@ -34,7 +34,7 @@ for i in $modules; do echo "commit $i" 1>&2 cd $i if [ "$add" = "y" ]; then - git add . + git add -A . if [ $? -ne 0 ]; then echo "add FAILED" 1>&2 -- cgit v1.1