#214: fixed restore of branch
This commit is contained in:
parent
ffcdd26c66
commit
5113e9d3d8
|
@ -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
|
||||
|
|
|
@ -3,6 +3,7 @@ ru:
|
|||
projects:
|
||||
branches: Ветки
|
||||
delete_branch: Удалить ветку
|
||||
restore_branch: Востановить ветку
|
||||
total_branches: Всего %{count} веток
|
||||
total_branch: Всего 1 ветка
|
||||
no_branch: Нет веток
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue