summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-03-03 14:43:34 +0000
committerDouwe Maan <douwe@gitlab.com>2016-03-03 14:43:34 +0000
commitb4537bf0766f07a8e1bc91cc93e59023ba9341ba (patch)
treea6d40182e6245822fcf55c6506dd2ce12abb9ae1
parent6d7ccca3310a7728b79e3717eeaf7cf1ae905b12 (diff)
downloadgitlab-shell-b4537bf0766f07a8e1bc91cc93e59023ba9341ba.tar.gz
Remove redundant `|| false`
-rw-r--r--lib/gitlab_projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb
index 4f26d45..82a16fc 100644
--- a/lib/gitlab_projects.rb
+++ b/lib/gitlab_projects.rb
@@ -137,7 +137,7 @@ class GitlabProjects
timeout = (ARGV.shift || 120).to_i
# fetch with --force ?
- forced = (ARGV.shift == '--force' || false)
+ forced = (ARGV.shift == '--force')
$logger.info "Fetching remote #{@name} for project #{@project_name}."
cmd = %W(git --git-dir=#{full_path} fetch #{@name} --tags)