summaryrefslogtreecommitdiff
path: root/update-common
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2009-02-22 11:41:39 -0800
committerDavid Schleef <ds@schleef.org>2009-02-22 11:42:04 -0800
commit0e4cdba751fe40599b9c2c338da0f691dda07c07 (patch)
tree01fe17b92fb3093060d3ccb5df2d5c92ccc5c99b /update-common
parent9cf8c9b62f6b2d9e43b7fb0cb9dcfb86b8ceba01 (diff)
downloadgstreamer-common-0e4cdba751fe40599b9c2c338da0f691dda07c07.tar.gz
Enable pushing. Add documentation
No need to update other modules for this change.
Diffstat (limited to 'update-common')
-rwxr-xr-xupdate-common15
1 files changed, 10 insertions, 5 deletions
diff --git a/update-common b/update-common
index ba1f51e..41a808d 100755
--- a/update-common
+++ b/update-common
@@ -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