diff options
author | James Lopez <james@jameslopez.es> | 2017-06-08 18:07:09 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-06-08 18:07:09 +0200 |
commit | a9b234c882418f43d6475f3d68d1fb079c368632 (patch) | |
tree | 2c397f13ab2e73dbef285ebae0cd3319cc460391 | |
parent | d0ad2b97b14f1f9873b4e18d2269773c34fbd7e5 (diff) | |
download | gitlab-ce-fix/github-import-performance.tar.gz |
Fix branch existence check so it only calls git contains oncefix/github-import-performance
-rw-r--r-- | lib/github/representation/branch.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/github/representation/branch.rb b/lib/github/representation/branch.rb index da04a9beedb..7acc511b908 100644 --- a/lib/github/representation/branch.rb +++ b/lib/github/representation/branch.rb @@ -30,7 +30,7 @@ module Github end def confirm_branch_existence - @exists = commit_exists? + @exists = true end def valid? |