<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch release-2.8
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/3007807ce107f2d412a62770a7737a788564b34a">https://github.com/macports/macports-base/commit/3007807ce107f2d412a62770a7737a788564b34a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/release-2.8 by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 3007807ce Always reload quick index after sync
</span>3007807ce is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 3007807ce107f2d412a62770a7737a788564b34a
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon Jan 23 18:30:59 2023 +1100

<span style='display:block; white-space:pre;color:#404040;'>    Always reload quick index after sync
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    This fixes issues when other actions are run after the sync in the same
</span><span style='display:block; white-space:pre;color:#404040;'>    port(1) invocation. There was a check for batch or shell mode before,
</span><span style='display:block; white-space:pre;color:#404040;'>    but there are other ways another action can run. One commonly seen by
</span><span style='display:block; white-space:pre;color:#404040;'>    users was reclaim_check_and_run happening automatically.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    (cherry picked from commit 9c8da9d61008249ea51e130d7ea02cb2177799ad)
</span>---
 src/macports1.0/macports.tcl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/macports.tcl b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index f11001bf4..58a8467b9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3082,10 +3082,10 @@ proc mportsync {{optionslist {}}} {
</span>         }
     }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # refresh the quick index if necessary (batch or shell mode run)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {[info exists macports::ui_options(ports_commandfiles)]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        _mports_load_quickindex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Aways refresh the quick index - in addition to batch or shell
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # mode, it's possible to run multiple actions like:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # port sync \; upgrade outdated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    _mports_load_quickindex
</span> 
     if {$numfailed == 1} {
         return -code error "Synchronization of 1 source failed"
</pre><pre style='margin:0'>

</pre>