Skip to content

Commit d79f294

Browse files
committed
Update rexm.c
1 parent 41dee9e commit d79f294

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

tools/rexm/rexm.c

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,16 +684,23 @@ 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+
putenv("PATH=%PATH%;C:\\Program Files\\Git\\bin");
688+
ChangeDirectory("C:\\GitHub\\raylib");
689+
system("git --version");
690+
system("git status");
691+
692+
/*
687693
// Create commit with changes (local)
688694
putenv("PATH=%PATH%;C:\\Program Files\\Git\\bin");
689695
ChangeDirectory("C:/GitHub/raylib");
690-
int result = system(TextFormat("git commit -am \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files)
696+
int result = system(TextFormat("git commit -m \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files)
691697
if (result != 0) LOG("WARNING: Error committing changes\n");
692698
//result = system("git push"); // Push to the remote (origin, current branch)
693699
//if (result != 0) LOG("WARNING: Error pushing changes\n");
694700
ChangeDirectory("C:/GitHub/raylib.com");
695-
result = system(TextFormat("git commit -am \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files)
701+
result = system(TextFormat("git commit -m \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files)
696702
if (result != 0) LOG("WARNING: Error committing changes\n");
703+
*/
697704

698705
} break;
699706
case OP_REMOVE: // Remove

0 commit comments

Comments
 (0)