]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - bin/git-update-all.sh
*: License under GPL v3+.
[config/dotfiles.git] / bin / git-update-all.sh
index b2ae8f8026660b481aeda5d925933ccab5b2e487..92ea49e6d9744be6e4eab1fdf9aad50bacb53299 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 
 # Run git-update.sh for all git repositories in this directory.
+#
+# All arguments are passed to git-update.sh.
 
+# Copyright (C) 2011-2012  Simon Ruderich
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-find . -name .git -type d -exec git-update.sh {} \; | less
+
+find . -name .git -type d -exec git-update.sh "$@" {} \; | less