mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
git-update: Use git config to set autostash
The build bots don't like it; probably because the git version is ancient there. Bots should ignore the unknown config variable.
This commit is contained in:
parent
90021b82af
commit
30a35c3d60
1 changed files with 2 additions and 1 deletions
|
@ -42,12 +42,13 @@ def update_subprojects(manifest, no_interaction=False):
|
|||
|
||||
def update_repo(repo_name, repo_dir, revision, no_interaction, recurse_i=0):
|
||||
print("Updating %s..." % repo_name)
|
||||
git("config", "rebase.autoStash", "true", repository_path=repo_dir)
|
||||
try:
|
||||
if revision:
|
||||
git("fetch", repository_path=repo_dir)
|
||||
git("checkout", revision, repository_path=repo_dir)
|
||||
else:
|
||||
git("pull", "--rebase", "--autostash", repository_path=repo_dir)
|
||||
git("pull", "--rebase", repository_path=repo_dir)
|
||||
except Exception as e:
|
||||
out = getattr(e, "output", b"").decode()
|
||||
if not no_interaction:
|
||||
|
|
Loading…
Reference in a new issue