<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch release-2.4
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/f00e9964ccae4afc4b9b4f8aa2d1dfbd31e3b303">https://github.com/macports/macports-base/commit/f00e9964ccae4afc4b9b4f8aa2d1dfbd31e3b303</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/release-2.4 by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new f00e996  reclaim: Ignore .turd_MacPorts files
</span>f00e996 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit f00e9964ccae4afc4b9b4f8aa2d1dfbd31e3b303
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Sun Jan 29 19:57:02 2017 +0100

<span style='display:block; white-space:pre;color:#404040;'>    reclaim: Ignore .turd_MacPorts files
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Ignore .turd_MacPorts files in reclaim to avoid confusing users when
</span><span style='display:block; white-space:pre;color:#404040;'>    reclaim claims the file is an unused distfile even though it was put
</span><span style='display:block; white-space:pre;color:#404040;'>    there by the MacPorts installer.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/53436
</span>---
 src/macports1.0/reclaim.tcl | 6 ++++++
 1 file changed, 6 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/reclaim.tcl b/src/macports1.0/reclaim.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index b4119c3..a188d05 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/reclaim.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/reclaim.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -122,6 +122,12 @@ namespace eval reclaim {
</span>                     walk_files $currentPath $files_in_use unused
                 }
                 file {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {$item eq ".turd_MacPorts"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        # .turd_MacPorts files are created by MacPorts when creating the MacPorts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        # installer packages from the MacPorts port so that empty directories are
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        # not deleted after destroot. Treat those files as if they were not there.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        continue
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    }
</span>                     if {[lsearch -exact -sorted $files_in_use $currentPath] == -1} {
                         ui_info "Found unused distfile $currentPath"
                         lappend unused $currentPath
</pre><pre style='margin:0'>

</pre>