Skip to content

The init wizard hardcodes maxDiffSize to 4000 with no interactive prompt #154

Description

@404-Page-Found

Description

When running \commit-echo init, the \historySize\ value is prompted interactively, but \maxDiffSize\ is silently set to the hardcoded default of \4000. Users working with large refactors or generated-file changes have no easy way to discover or configure this during setup.

Expected Behavior

A prompt similar to the \historySize\ prompt should be added, validating that the input is a positive integer.

Suggested Implementation

Follow the existing pattern in \src/commands/init.ts\ lines 147-158 (the \historySize\ prompt) and add a similar prompt for \maxDiffSize\ before line 209 where it's currently hardcoded.

Relevant Files

  • \src/commands/init.ts\ line 209 (hardcoded \maxDiffSize: 4000)
  • \src/commands/init.ts\ lines 147-158 (the \historySize\ prompt pattern to follow)

Metadata

Metadata

Labels

No fields configured for Feature.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions