Skip to content

Commit

Permalink
Merge remote branch 'abronte/master'
Browse files Browse the repository at this point in the history
Conflicts:
	app/controllers/github_hook_controller.rb
  • Loading branch information
koppen committed Jan 1, 2010
2 parents 45d66e4 + 511f6bd commit ed43f81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/github_hook_controller.rb
Expand Up @@ -19,7 +19,8 @@ def index
raise TypeError, "Repository for project '#{identifier}' is not a Git repository" unless repository.is_a?(Repository::Git)

# Get updates from the Github repository
command = "cd '#{repository.url}' && cd .. && git pull --rebase"
#command = "cd '#{repository.url}' && cd .. && git pull --rebase"
command = "cd '#{repository.url}' && git fetch origin && git reset --soft refs/remotes/origin/master"
exec(command)

# Fetch the new changesets into Redmine
Expand Down

0 comments on commit ed43f81

Please sign in to comment.