mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
One-click installer: add an info message before git pull
This commit is contained in:
parent
527ba98105
commit
dc2dd5b9d8
@ -316,6 +316,8 @@ def update_requirements(initial_installation=False):
|
|||||||
'one_click.py'
|
'one_click.py'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
print_big_message("Updating the local copy of the repository with \"git pull\"")
|
||||||
|
|
||||||
before_pull_hashes = {file_name: calculate_file_hash(file_name) for file_name in files_to_check}
|
before_pull_hashes = {file_name: calculate_file_hash(file_name) for file_name in files_to_check}
|
||||||
run_cmd("git pull --autostash", assert_success=True, environment=True)
|
run_cmd("git pull --autostash", assert_success=True, environment=True)
|
||||||
after_pull_hashes = {file_name: calculate_file_hash(file_name) for file_name in files_to_check}
|
after_pull_hashes = {file_name: calculate_file_hash(file_name) for file_name in files_to_check}
|
||||||
|
Loading…
Reference in New Issue
Block a user