refs #2371 Improve commit names

main
Vadim vtroshchinskiy 2025-07-04 13:28:03 +02:00
parent a56cb7a160
commit cb059a65ef
1 changed files with 2 additions and 2 deletions

View File

@ -1387,7 +1387,7 @@ class OpengnsysGitLibrary:
# progress reports for doing the full push later.
origin = repo.create_remote("origin", repo_url)
repo.index.add(f"{path}/.gitignore")
repo.index.commit("Initial commit")
repo.index.commit("Add .gitignore")
repo.git.push("--force") # Obliterate whatever might have been there
self.logger.debug("Fetching origin, callback=%s", self.progress_callback)
@ -1452,7 +1452,7 @@ class OpengnsysGitLibrary:
self.logger.info("Committing")
repo.index.commit("Initial commit")
repo.index.commit("Initialize repository")
# Restaurar cosas modificadas para git
self._restore_metadata(path, destructive_only=True, set_device_uuids=False)