Skip to content

Commit d8e0ae7

Browse files
Enhance seed filepaths description in GenerateHashesCommand to clarify usage and impact on affected targets. (Tinder#291)
Per Tinder#197 Signed-off-by: Maxwell Elliott <maxwell.elliott@gotinder.com>
1 parent fd9627a commit d8e0ae7

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,11 @@ workspace.
204204
setups. Defaults to `true`
205205
-s, --seed-filepaths=<seedFilepaths>
206206
A text file containing a newline separated list of
207-
filepaths, each of these filepaths will be read and
208-
used as a seed for all targets.
207+
filepaths. Each file in this list will be read and
208+
its content will be used as a SHA256 seed when
209+
determining affected targets in the build graph.
210+
Invalidating any of these files will effectively
211+
mark all targets as affected.
209212
-so, --bazelStartupOptions=<bazelStartupOptions>
210213
Additional space separated Bazel client startup
211214
options used when invoking Bazel

cli/src/main/kotlin/com/bazel_diff/cli/GenerateHashesCommand.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class GenerateHashesCommand : Callable<Int> {
139139
names = ["-s", "--seed-filepaths"],
140140
description =
141141
[
142-
"A text file containing a newline separated list of filepaths, each of these filepaths will be read and used as a seed for all targets."])
142+
"A text file containing a newline separated list of filepaths. Each file in this list will be read and its content will be used as a SHA256 seed when determining affected targets in the build graph. Invalidating any of these files will effectively mark all targets as affected."])
143143
var seedFilepaths: File? = null
144144

145145
@CommandLine.Parameters(

0 commit comments

Comments
 (0)