Enable pushing. Add documentation
authorDavid Schleef <ds@schleef.org>
Sun, 22 Feb 2009 19:41:39 +0000 (11:41 -0800)
committerDavid Schleef <ds@schleef.org>
Sun, 22 Feb 2009 19:42:04 +0000 (11:42 -0800)
No need to update other modules for this change.

update-common

index ba1f51e..41a808d 100755 (executable)
@@ -3,10 +3,18 @@
 # This script will update all the modules listed below so that
 # common points to master in the common module.
 #
+# If you have many of the GStreamer modules checked out in a particular
+# directory, it's best to run this script from that directory.  For
+# example, I check everything out in ~/gst, so this file is
+# ~/gst/common/update-common.  To do an update, I do
+# 'cd ~/gst ; ./common/update-common'.  This will automatically use
+# the refs in your existing checkout when cloning the temporary
+# checkout.  Alternatively, you can use the reference variable below.
+#
 
 # Set this variable to point to any directory containing existing
 # git # checkouts, and git will pull objects from there, decreasing
-# network usage.  You can also run this script from that directory.
+# network usage.
 reference=~/gst
 
 set -e
@@ -48,13 +56,10 @@ From $ref_from to $ref_to"
   cd $dir
 done
 
-exit 0
-
 for module in $modules
 do
   cd $topdir/$module
   git push origin
 done
-
-#rm -rf $dir
+rm -rf $dir