r114451 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114450‎ | r114451 | r114452 >
Date:16:16, 23 March 2012
Author:platonides
Status:deferred
Tags:
Comment:
Simple wrapper to apply a git command to all git repositories below the current folder.
Modified paths:
  • /trunk/tools/code-utils/subgits (added) (history)

Diff [purge]

Index: trunk/tools/code-utils/subgits
@@ -0,0 +1,16 @@
 2+#!/bin/sh
 3+# This command allows you to perform the same action on several git repositories sharing a common root.
 4+#
 5+# For instance, after cloning you will want to do
 6+# subgits config user.email "email@address.com"
 7+# subgits config user.name "your name"
 8+#
 9+# For configuring git-review:
 10+# subgits config gitreview.username "shell-username"
 11+# subgits review -s
 12+#
 13+# For updating all the repositories:
 14+# subgits pull
 15+
 16+find -name .git -execdir git "$@" \;
 17+
Property changes on: trunk/tools/code-utils/subgits
___________________________________________________________________
Added: svn:executable
118 + *

Status & tagging log