Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support file list input for format command to bypass OS limits #391

Merged
merged 1 commit into from
Sep 16, 2024

Commits on Sep 16, 2024

  1. fix: support file list input for format command to bypass OS limits

    Add support for '@file' syntax to read format targets from a file
    Implement batch processing to handle large numbers of files
    Maintain compatibility with direct command-line arguments
    
    This change allows the format command to process an arbitrarily large
    number of files by reading targets from a file, bypassing OS command
    line length limits. It addresses issues with pre-commit hooks and other
    tooling when formatting many files at once.
    Note: This introduces a limitation where files starting with '@' cannot
    be directly specified as format targets. Users must use the full file
    path for such files.
    
    Closes aspect-build#387
    mrmeku committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    f466a15 View commit details
    Browse the repository at this point in the history