g | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) New commits: commit 73b50b73366f069b2ba680cec35b09d566209109 Author: Miklos Vajna <vmik...@suse.cz> Date: Tue Feb 26 16:17:51 2013 +0100
g clone: fix non-referenced cloning Change-Id: I98d6f5c20bacbb5d6457857906c591fea034288a diff --git a/g b/g index f086149..c24ca3b 100755 --- a/g +++ b/g @@ -254,11 +254,13 @@ local configured git submodule init $module || return $? fi done - if [ -n "$REFERENCED_GIT" ] ; then - for module in $SUBMODULES_CONFIGURED ; do + for module in $SUBMODULES_CONFIGURED ; do + if [ -n "$REFERENCED_GIT" ] ; then git submodule update --reference $REFERENCED_GIT/.git/modules/$module $module || return $? - done - fi + else + git submodule update $module || return $? + fi + done return 0 } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits