diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2011-12-15 14:18:19 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2011-12-15 14:20:30 +0100 |
commit | 9a845f988e6b5ec50ddda123cf761d8541c005fa (patch) | |
tree | f657b5824b0e6e3354896c9187f6f1cfe1f683e1 /download | |
parent | propmerge tool to merge strings back to localized .properties files (diff) | |
download | core-9a845f988e6b5ec50ddda123cf761d8541c005fa.tar.gz core-9a845f988e6b5ec50ddda123cf761d8541c005fa.zip |
when using linked git, use the same branch as the main repo
Diffstat (limited to 'download')
-rwxr-xr-x | download | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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}) |