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

Ignore autogenerated CommitHash header and remove it from repo #224

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

keton
Copy link
Contributor

@keton keton commented Mar 16, 2024

This will prevent accidentally including autogenerated code and making patches that are difficult to rebase.

CommitHash.hpp is autogenerated by cmake and shouldn't be commited.

Additionally someone with write access should do git filter-branch and remove CommitHash.hpp from the previous history or this problem may come back with merging older patches.

This will prevent accidentally including autogenerated code and making patches that are difficult to rebase.

CommitHash.hpp is autogenerated by cmake and shouldn't be commited.

Additionally someone with write access should do `git filter-branch` and remove CommitHash.hpp from the previous history or this problem may come back with merging older patches.
@praydog praydog merged commit a158997 into praydog:master Mar 16, 2024
1 check passed
@praydog
Copy link
Owner

praydog commented Mar 16, 2024

this is going to be an issue because cmkr will automatically recreate CMakeLists.txt with the CommitHash.hpp
so maybe it should be renamed to CommitHash.autogenerated

edit: Already did this in 38fa684

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants