<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/a0c99ad1bf6363b556517a9b0ad91def3a812064">https://github.com/macports/macports-base/commit/a0c99ad1bf6363b556517a9b0ad91def3a812064</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new a0c99ad1b get_source_date_epoch: limit files considered
</span>a0c99ad1b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a0c99ad1bf6363b556517a9b0ad91def3a812064
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun Sep 8 22:51:33 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> get_source_date_epoch: limit files considered
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Only consider Portfile and files directory in portpath.
</span>---
src/port1.0/portmain.tcl | 3 +++
1 file changed, 3 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portmain.tcl b/src/port1.0/portmain.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index ecca36574..2a86e49d3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portmain.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portmain.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -262,6 +262,9 @@ proc portmain::get_source_date_epoch {} {
</span> }
# TODO: Ensure commit timestamps as extracted above are set in
# ports tree distributed as tarball.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ global filespath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set maybe_filespath [expr {[file isdirectory $filespath] ? [list $filespath] : {}}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set checkpaths [list [file join $portpath Portfile] {*}$maybe_filespath {*}[lrange $checkpaths 1 end]]
</span> fs-traverse fullpath $checkpaths {
if {[catch {
if {[file type $fullpath] eq "file"} {
</pre><pre style='margin:0'>
</pre>