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

Sort members of generated headers for better diffing #500

Open
2 tasks done
frankschlegel opened this issue Jun 28, 2024 · 0 comments
Open
2 tasks done

Sort members of generated headers for better diffing #500

frankschlegel opened this issue Jun 28, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request triage

Comments

@frankschlegel
Copy link

Is your feature request related to a problem? Please describe.

I would like to diff the generated runtime headers crated via class-dump --headers between different iOS versions. Unfortunately, the class and instant methods are not sorted deterministically (e.g., alphabetically). So that the diff tool will mark almost all files as changed, even though only some lines are in a different order.

Describe the solution you'd like

It would be great if the members in inside the different sections (class/instance variables/methods) would be sorted alphabetically so that the line order stays consistent between different OS versions.

Describe alternatives you've considered

Not sure if this would be worth adding a flag for, or it should just be the default behavior of class-dump --headers.

Search

  • I did search for other open and closed issues before opening this

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

2 participants