fix
This commit is contained in:
@@ -232,8 +232,8 @@ class GitPlugin(PluginBase):
|
||||
shutil.rmtree(backup_dir, ignore_errors=True)
|
||||
|
||||
try:
|
||||
repo.git.add(A=True)
|
||||
app_logger.reason("Changes staged in git", extra={"src": "_handle_sync"})
|
||||
repo.git.add(A=True, force=True)
|
||||
app_logger.reason("Changes staged in git (force)", extra={"src": "_handle_sync"})
|
||||
except Exception as ge:
|
||||
app_logger.explore(f"Failed to stage changes: {ge}", extra={"src": "_handle_sync"})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user