From 16491ff97dce82199761a27d128db0bf6a3753d1 Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Sun, 5 Nov 2023 13:37:14 +0000 Subject: [PATCH] Remove XXXXXX from output It was surely added for debugging. Add a couple of comments, always helpfule later. --- classes/display_commit.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/classes/display_commit.php b/classes/display_commit.php index 0b6d9407..25388e46 100644 --- a/classes/display_commit.php +++ b/classes/display_commit.php @@ -276,6 +276,9 @@ function CreateHTML() { if (!$TooManyPorts) { $this->HTML .= '
  • '; + # + # XXX This 0 is in the if beacuse I'm testing the ELSE portion for all purposes + # if (0 && IsSet($mycommit->category) && $mycommit->category != '') { # i.e. this is a category/port item, as opposed to MOVED, or UPDATING if ($Debug) echo 'category is set'; @@ -399,10 +402,11 @@ function CreateHTML() { $this->HTML .= freshports_git_Link_gitlab ($mycommit->repo_hostname, $mycommit->path_to_repo, $PathName) . ' '; if ($PathName != $mycommit->element_pathname) { + # the replace changes encoded / to plain text / - not sure why may have been present $this->HTML .= '' . $PathName. ''; $this->HTML .= "\n"; } else { - #$this->HTML .= 'XXXXXX ' . $PathName . ''; + #$this->HTML .= '' . $PathName . ''; $this->HTML .= $PathName; $this->HTML .= "\n"; }