#214: fixed restore of branch

This commit is contained in:
Vokhmin Alexey V 2013-07-12 18:30:15 +04:00
parent ffcdd26c66
commit 5113e9d3d8
3 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@ en:
projects:
branches: Branches
delete_branch: Delete branch
restore_branch: Restore branch
total_branches: Total %{count} branches
total_branch: Total 1 branch
no_branches: No branches

View File

@ -3,6 +3,7 @@ ru:
projects:
branches: Ветки
delete_branch: Удалить ветку
restore_branch: Востановить ветку
total_branches: Всего %{count} веток
total_branch: Всего 1 ветка
no_branch: Нет веток

View File

@ -34,7 +34,7 @@ module Modules
end
def restore_branch(branch, sha)
repo.git.native(:branch, {}, 'branch', branch, sha)
repo.git.native(:branch, {}, branch, sha)
end
def delete_branch(branch, user)