Merge branch 'always_set_satellite_origin' into 'master'

Always set satellite origin

See merge request !1036
This commit is contained in:
Dmitriy Zaporozhets
2014-08-23 20:46:36 +00:00
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -1,3 +1,6 @@
v 7.3.0
- Always set the 'origin' remote in satellite actions
v 7.2.0
- Explore page
- Add project stars (Ciro Santilli)
+1
View File
@@ -121,6 +121,7 @@ module Gitlab
#
# Note: this will only update remote branches (i.e. origin/*)
def update_from_source!
repo.git.remote(default_options, 'set-url', :origin, project.repository.path_to_repo)
repo.git.fetch(default_options, :origin)
end