Skip to content

Commit

Permalink
chore: amend some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vvagaytsev committed Jun 17, 2024
1 parent dbb539d commit 088fec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/vcs/git-repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const getIncludeExcludeFiles: IncludeExcludeFilesHandler<GitRepoGetFilesParams,
// Make sure action config is not mutated.
let exclude = !params.exclude ? [] : [...params.exclude]

// Do the same normalization of the excluded paths like in `GitHandler`.
// Do the same normalization of the excluded paths like in "subtree" scanning mode.
// This might be redundant because the non-normalized paths will be handled by `augmentGlobs` below.
// But this brings no harm and makes the implementation more clear.
exclude = exclude.map(normalize)
Expand Down Expand Up @@ -90,7 +90,7 @@ export class GitRepoHandler extends AbstractGitHandler {
}

/**
* This has the same signature as the GitHandler super class method but instead of scanning the individual directory
* This has the same signature as the `GitSubTreeHandler` class method but instead of scanning the individual directory
* path directly, we scan the entire enclosing git repository, cache that file list and then filter down to the
* sub-path. This results in far fewer git process calls but in turn collects more data in memory.
*/
Expand Down

0 comments on commit 088fec6

Please sign in to comment.