Skip to content

Refactor: rename .c source files to .cpp#127

Merged
antLI-dev merged 2 commits into
masterfrom
refactor/rename-c-to-cpp
Jun 25, 2026
Merged

Refactor: rename .c source files to .cpp#127
antLI-dev merged 2 commits into
masterfrom
refactor/rename-c-to-cpp

Conversation

@antLI-dev

@antLI-dev antLI-dev commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

All source files were already compiled as C++ — this commit makes the
extensions reflect that. The immediate motivation is to simplify the
CMake migration: with a uniform .cpp extension CMake needs no language
override and the source discovery logic is straightforward.

Update linux/makefile (remove dead .c pattern rule, fix testblt target),
ms/projects/*.vcxproj, and linux/build_makefile_inc.py to match.

Add the sha so that git blame can skip the mechanical rename and
attributes lines to their true authors:
git config blame.ignoreRevsFile .git-blame-ignore-revs

GSR-966

antLI-dev and others added 2 commits June 25, 2026 12:33
All source files were already compiled as C++ — this commit makes the
extensions reflect that.  The immediate motivation is to simplify the
CMake migration: with a uniform .cpp extension CMake needs no language
override and the source discovery logic is straightforward.

Update linux/makefile (remove dead .c pattern rule, fix testblt target),
ms/projects/*.vcxproj, and linux/build_makefile_inc.py to match.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds the sha of 79a6590 (rename .c -> .cpp) so that git blame skips
the mechanical rename and attributes lines to their true authors.

Run once per clone to activate:
    git config blame.ignoreRevsFile .git-blame-ignore-revs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@antLI-dev antLI-dev requested a review from ccrook June 25, 2026 00:48
@antLI-dev

Copy link
Copy Markdown
Contributor Author

Merging now as I need a fix for a race condition in the workflow without having to change the recorded sha hash. Can unwind if that doesn't fix it.

@antLI-dev antLI-dev merged commit 37dbcce into master Jun 25, 2026
1 of 2 checks passed
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.

1 participant