[PATCH] git-submodule: Make update verbose for up to date path
When 'git submodule update' runs for multiple modules, give 'up to date'
info for up to date modules should be a good idea to show the progress.
---
git-submodule.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/git-submodule.sh b/git-submodule.sh
index 67d3224..94e3db7 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -305,6 +305,8 @@ cmd_update()
die "Unable to checkout '$sha1' in submodule path '$path'"
say "Submodule path '$path': checked out '$sha1'"
+ else
+ say "Up to date: $path"
fi
done
}
--
1.5.4.3.347.g5314c