[Libreoffice-commits] .: download
Christian Lohmaier
cloph at kemper.freedesktop.org
Thu Dec 15 05:25:52 PST 2011
download | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9a845f988e6b5ec50ddda123cf761d8541c005fa
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date: Thu Dec 15 14:18:19 2011 +0100
when using linked git, use the same branch as the main repo
diff --git a/download b/download
index 9b68703..4b8c242 100755
--- a/download
+++ b/download
@@ -52,8 +52,9 @@ if [ -d .git ] ; then
else
# space-saving clone from another local workdir
mkdir clone
+ branch=$(git symbolic-ref HEAD | cut -d"/" -f 3)
for i in $GIT_REPO_NAMES ; do
- bin/git-new-workdir $GIT_LINK_SRC/$i clone/$i
+ bin/git-new-workdir $GIT_LINK_SRC/$i clone/$i $branch
for d in clone/$i/* ; do
if [ "${d}" != "clone/$i/git-hooks" ]; then
ln -sfn ${d} $(basename ${d})
More information about the Libreoffice-commits
mailing list