projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
5737: Avoid redefining recursive_hash_search() on each use
[arvados.git]
/
services
/
api
/
app
/
models
/
commit.rb
diff --git
a/services/api/app/models/commit.rb
b/services/api/app/models/commit.rb
index e4b789e099abb24c3618cd290d81a3200b597d42..f74e2fedc7396335e6ff537bc2e882aa5da3e177 100644
(file)
--- a/
services/api/app/models/commit.rb
+++ b/
services/api/app/models/commit.rb
@@
-72,7
+72,7
@@
class Commit < ActiveRecord::Base
# If string is invalid, nothing else to do
if !git_check_ref_format(max_hash)
logger.warn "ref returned by `GIT_DIR=#{gitdir} #{git_max_hash_cmd}` was invalid for max_hash: #{max_hash}"
- return[]
+ return
[]
end
resolved_exclude = nil