[147246] branches/vcs-fetch/base/src/port1.0/portfetch.tcl

raimue at macports.org raimue at macports.org
Thu Mar 31 16:47:51 PDT 2016


Revision: 147246
          https://trac.macports.org/changeset/147246
Author:   raimue at macports.org
Date:     2016-03-31 16:47:50 -0700 (Thu, 31 Mar 2016)
Log Message:
-----------
Prefer append syntax instead of set

Modified Paths:
--------------
    branches/vcs-fetch/base/src/port1.0/portfetch.tcl

Modified: branches/vcs-fetch/base/src/port1.0/portfetch.tcl
===================================================================
--- branches/vcs-fetch/base/src/port1.0/portfetch.tcl	2016-03-31 23:47:42 UTC (rev 147245)
+++ branches/vcs-fetch/base/src/port1.0/portfetch.tcl	2016-03-31 23:47:50 UTC (rev 147246)
@@ -469,7 +469,7 @@
     set options "-q"
     if {${git.branch} eq ""} {
         # if we're just using HEAD, we can make a shallow repo
-        set options "$options --depth=1"
+        append options "--depth=1"
     }
 
     ui_info "$UI_PREFIX Cloning ${fetch.type} repository"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160331/722d6caf/attachment.html>


More information about the macports-changes mailing list