From 3659eee9943cac0e635b500467ba344dc09e7c07 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 4 Sep 2025 10:50:35 +0200 Subject: [PATCH] Update rexm.c --- tools/rexm/rexm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/rexm/rexm.c b/tools/rexm/rexm.c index b6bf73465..25a3c9850 100644 --- a/tools/rexm/rexm.c +++ b/tools/rexm/rexm.c @@ -686,12 +686,12 @@ int main(int argc, char *argv[]) // Create commit with changes (local) ChangeDirectory("C:/GitHub/raylib"); - int result = system(TextFormat("git commit -am \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files) + int result = system(TextFormat("cmd /c git commit -am \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files) if (result != 0) LOG("WARNING: Error committing changes\n"); - //result = system("git push"); // Push to the remote (origin, current branch) + //result = system("cmd /c git push"); // Push to the remote (origin, current branch) //if (result != 0) LOG("WARNING: Error pushing changes\n"); ChangeDirectory("C:/GitHub/raylib.com"); - result = system(TextFormat("git commit -am \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files) + result = system(TextFormat("cmd /c git commit -am \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files) if (result != 0) LOG("WARNING: Error committing changes\n"); } break;