Skip to content

Commit

Permalink
[7.1.0] Document --digest_function startup flag (#20864)
Browse files Browse the repository at this point in the history
This flag is in use in production today (e.g. when using `blake3`).

Closes #20747.

Commit
6d30214

PiperOrigin-RevId: 597704594
Change-Id: I92b5cfc4bf70c86d50049c6881f7b5f4fb7d30be

Co-authored-by: Brentley Jones <[email protected]>
  • Loading branch information
bazel-io and brentleyjones authored Jan 12, 2024
1 parent cc4881e commit f6e4d28
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,18 +402,15 @@ public String getTypeDescription() {
help = "The maximum amount of time the client waits to connect to the server")
public int localStartupTimeoutSecs;

// TODO(b/109764197): Add OptionDocumentationCategory.BAZEL_CLIENT_OPTIONS & remove the
// experimental tag once this has been tested and is ready for use.
@Option(
name = "digest_function",
defaultValue = "null",
converter = DigestHashFunction.DigestFunctionConverter.class,
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
documentationCategory = OptionDocumentationCategory.BAZEL_CLIENT_OPTIONS,
effectTags = {
OptionEffectTag.LOSES_INCREMENTAL_STATE,
OptionEffectTag.BAZEL_INTERNAL_CONFIGURATION
},
metadataTags = OptionMetadataTag.EXPERIMENTAL,
help = "The hash function to use when computing file digests.")
public DigestHashFunction digestHashFunction;

Expand Down

0 comments on commit f6e4d28

Please sign in to comment.