mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
fix: bug - rename local branch name should only check names with other local branches
This commit is contained in:
parent
49abab2903
commit
ea1d0bf6a2
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ namespace SourceGit.ViewModels
|
|||
{
|
||||
foreach (var b in rename._repo.Branches)
|
||||
{
|
||||
if (b != rename.Target && b.Name == name)
|
||||
if (b.IsLocal && b != rename.Target && b.Name == name)
|
||||
{
|
||||
return new ValidationResult("A branch with same name already exists!!!");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue