Skip to content

Commit d43da3a

Browse files
committed
- Update get_github_changes.php
To allow comparing packages located in a subdirectory
1 parent 3e58ed0 commit d43da3a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dev/tests/static/get_github_changes.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ function getRepo($options, $mainline)
147147
}
148148

149149
/**
150+
* Combine list of changed files based on comparison between forks.
151+
*
150152
* @param string $mainline
151153
* @param GitRepo $repo
152154
* @param string $branchName
@@ -158,6 +160,8 @@ function retrieveChangesAcrossForks($mainline, GitRepo $repo, $branchName)
158160
}
159161

160162
/**
163+
* Combine list of new files based on comparison between forks.
164+
*
161165
* @param string $mainline
162166
* @param GitRepo $repo
163167
* @param string $branchName
@@ -172,7 +176,7 @@ function retrieveNewFilesAcrossForks($mainline, GitRepo $repo, $branchName)
172176
* Deletes temporary "base" repo
173177
*
174178
* @param GitRepo $repo
175-
* @param string $repo
179+
* @param string $mainline
176180
*/
177181
function cleanup($repo, $mainline)
178182
{
@@ -392,6 +396,7 @@ private function buildChangedFilesMask(int $changesType): array
392396

393397
/**
394398
* Find one of the allowed modification mask returned by git diff.
399+
*
395400
* Example of change record: "A path/to/added_file"
396401
*
397402
* @param string $changeRecord

0 commit comments

Comments
 (0)