projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15003: Merge branch 'master'
[arvados.git]
/
services
/
api
/
app
/
models
/
commit_ancestor.rb
diff --git
a/services/api/app/models/commit_ancestor.rb
b/services/api/app/models/commit_ancestor.rb
index 419eca2e01fd3002762124045707b5b8dc38bf8f..59e8552f326dc59dc17bea621958084ad793e64a 100644
(file)
--- a/
services/api/app/models/commit_ancestor.rb
+++ b/
services/api/app/models/commit_ancestor.rb
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
# Usage:
#
# x = CommitAncestor.find_or_create_by_descendant_and_ancestor(a, b)
# Usage:
#
# x = CommitAncestor.find_or_create_by_descendant_and_ancestor(a, b)
@@
-13,7
+17,7
@@
class CommitAncestor < ActiveRecord::Base
protected
def ask_git_whether_is
protected
def ask_git_whether_is
- @gitdirbase = Rails.configuration.
git_repositories_dir
+ @gitdirbase = Rails.configuration.
Git.Repositories
self.is = nil
Dir.foreach @gitdirbase do |repo|
next if repo.match(/^\./)
self.is = nil
Dir.foreach @gitdirbase do |repo|
next if repo.match(/^\./)