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

Mass-rename "node_nr" to "node_idx" #2860

Merged
merged 1 commit into from May 1, 2024
Merged

Mass-rename "node_nr" to "node_idx" #2860

merged 1 commit into from May 1, 2024

Conversation

tobbi
Copy link
Member

@tobbi tobbi commented Mar 29, 2024

I don't like using "nr", it seems to be non-programming terminology. The members are definitely "indices" and I think should be named that.

@tobbi
Copy link
Member Author

tobbi commented Mar 29, 2024

I have no clue why it changed the whole ghoul.cpp file when I renamed stuff.

Copy link
Member

@MatusGuy MatusGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are polluting git commit history, but because you won't care, I will review this normally.

src/badguy/ghoul.cpp Show resolved Hide resolved
src/badguy/ghoul.hpp Show resolved Hide resolved
@tobbi
Copy link
Member Author

tobbi commented Mar 29, 2024

You are polluting git commit history, but because you won't care, I will review this normally.

"I have no clue why it changed the whole ghoul.cpp file when I renamed stuff."

I do care, honestly. I just don't know why it changed that complete file. Maybe line endings?

@MatusGuy
Copy link
Member

If you cared about git commit history you wouldn't just decide to rename things because yes.

Also please fix ghoul.*pp

@tobbi tobbi requested a review from MatusGuy May 1, 2024 12:19
@tobbi tobbi merged commit cf1a300 into master May 1, 2024
33 checks passed
@tobbi tobbi deleted the rename_node_no_to_idx branch May 2, 2024 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants