Menu

#70 "No file to process" error when dealing with source-control.

1.0
closed
2024-12-06
2012-10-08
Ben Graham
No

As part of our project builds, the intention is to use AStyle as a pre-build step to ensure proper code formatting. As AStyle only adjusts files that are not read-only; only files the user has checked out our touched, which is the desired behavior. Once all code is checked in however, all files are read-only, and the pre-build step fails, which fails the build. We have modified the source to work around this issue locally.

Would you consider, either a) removing the error condition when no files are found to modify. or b) removing the error condition for the more specific case where only read-only files were found.

Discussion

  • Jim Pattee

    Jim Pattee - 2018-01-28

    Ticket moved from /p/astyle/bugs/187/

     
  • André Simon

    André Simon - 2023-04-16
    • status: open --> accepted
    • assigned_to: André Simon
    • Milestone: --> 1.0
     
  • André Simon

    André Simon - 2024-11-28
    • status: accepted --> closed
     
  • André Simon

    André Simon - 2024-11-28

    The next release will have --accept-empty-list to no longer exit with error status in this case

     
  • André Simon

    André Simon - 2024-12-06

    New release 3.6.5 is available

     

Log in to post a comment.

Auth0 Logo