Commit fcbf9841 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'always_set_satellite_origin' into 'master'

Always set satellite origin

See merge request !1036
parents 9b1bef54 3dbd8d22
v 7.3.0
- Always set the 'origin' remote in satellite actions
v 7.2.0 v 7.2.0
- Explore page - Explore page
- Add project stars (Ciro Santilli) - Add project stars (Ciro Santilli)
......
...@@ -121,6 +121,7 @@ module Gitlab ...@@ -121,6 +121,7 @@ module Gitlab
# #
# Note: this will only update remote branches (i.e. origin/*) # Note: this will only update remote branches (i.e. origin/*)
def update_from_source! def update_from_source!
repo.git.remote(default_options, 'set-url', :origin, project.repository.path_to_repo)
repo.git.fetch(default_options, :origin) repo.git.fetch(default_options, :origin)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment