[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/emerge/bin/Source
From:       Andreas Holzammer <andy () kdab ! com>
Date:       2011-01-22 14:30:47
Message-ID: 20110122143047.0D09BAC8B8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1216295 by aholzammer:

do a update git right with self.subinfo.options.fetch.checkoutSubmodules = True

 M  +3 -0      GitSource.py  


--- trunk/kdesupport/emerge/bin/Source/GitSource.py #1216294:1216295
@@ -92,6 +92,9 @@
                 if not repoTag:
                     ret = self.shell.execute(checkoutDir, "git",
                             "pull origin %s" % repoBranch or "master" )
+                    if self.subinfo.options.fetch.checkoutSubmodules:
+                        self.shell.execute(checkoutDir, "git",
+                            "submodule update --init --recursive")
             else:
                 # it doesn't exist so clone the repo
                 os.makedirs( checkoutDir )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic