Skip to content

Commit b4e71ab

Browse files
committed
.
1 parent f61d605 commit b4e71ab

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

clone.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
import sdl3, asyncio
99

1010
def main(argv):
11+
subprocess.run(["git", "config", "--global", "advice.detachedHead", "false"], shell = sdl3.SDL_SYSTEM in ["Windows"])
12+
1113
for repo, release in asyncio.run(sdl3.SDL_GET_LATEST_RELEASES()).items():
1214
if repo not in os.listdir():
1315
print("\33[32m", f"info: cloning '{repo}'", "without any release..." if (dev := release is None or not release.split("-")[1].startswith("3")) else f"with release '{release}'...", "\33[0m", sep = "", flush = True)

0 commit comments

Comments
 (0)