This commit is contained in:
chenyf 2024-07-01 08:31:56 +08:00
parent 12a5ac4454
commit c388d08fd1
3 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ int get_git_state()
char buffer[1024];
while (fgets(buffer, sizeof(buffer), fp) != NULL)
{
printf("%s\n", buffer);
if (strstr(buffer, "modified:") != NULL)
{
return 'M';

Binary file not shown.

Binary file not shown.