mirror of
https://github.com/Dasharo/litex.git
synced 2026-03-06 14:58:06 -08:00
Only allow fast-forward pulls.
This commit is contained in:
@@ -136,7 +136,7 @@ if "update" in sys.argv[1:]:
|
||||
print("[updating " + name + "]...")
|
||||
os.chdir(os.path.join(current_path, name))
|
||||
subprocess.check_call(
|
||||
"git pull",
|
||||
"git pull --ff-only",
|
||||
shell=True)
|
||||
os.chdir(os.path.join(current_path))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user