mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-20 06:35:25 -04:00
builder: After fetching the mirrored git repo, set back the right origin
This is nice if you want to later pull new data into the repo.
This commit is contained in:
1 parent
873492af62
commit
2c92fcb1d6
1 file changed
+4
@@ -486,6 +486,10 @@ builder_source_git_extract (BuilderSource *source,
|
||||
if (!git_extract_submodule (url, dest, context, error))
|
||||
return FALSE;
|
||||
|
||||
if (!git (dest, NULL, error,
|
||||
"config", "--local", "remote.origin.url", url, NULL))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user