Skip to content

Commit 5f9465d

Browse files
committed
Update rexm.c
1 parent d79f294 commit 5f9465d

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

tools/rexm/rexm.c

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -684,23 +684,19 @@ int main(int argc, char *argv[])
684684
FileCopy(TextFormat("%s/%s/%s.js", exBasePath, exRecategory, exRename),
685685
TextFormat("%s/%s/%s.js", exWebPath, exRecategory, exRename));
686686

687+
// Create commit with changes (local)
687688
putenv("PATH=%PATH%;C:\\Program Files\\Git\\bin");
688689
ChangeDirectory("C:\\GitHub\\raylib");
689690
system("git --version");
690691
system("git status");
691-
692-
/*
693-
// Create commit with changes (local)
694-
putenv("PATH=%PATH%;C:\\Program Files\\Git\\bin");
695-
ChangeDirectory("C:/GitHub/raylib");
696692
int result = system(TextFormat("git commit -m \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files)
697693
if (result != 0) LOG("WARNING: Error committing changes\n");
698-
//result = system("git push"); // Push to the remote (origin, current branch)
699-
//if (result != 0) LOG("WARNING: Error pushing changes\n");
700694
ChangeDirectory("C:/GitHub/raylib.com");
701695
result = system(TextFormat("git commit -m \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files)
702696
if (result != 0) LOG("WARNING: Error committing changes\n");
703-
*/
697+
698+
//result = system("git push"); // Push to the remote (origin, current branch)
699+
//if (result != 0) LOG("WARNING: Error pushing changes\n");
704700

705701
} break;
706702
case OP_REMOVE: // Remove

0 commit comments

Comments
 (0)