projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
12573: Ensure priority is set on container requests created by other containers.
[arvados.git]
/
services
/
api
/
lib
/
app_version.rb
diff --git
a/services/api/lib/app_version.rb
b/services/api/lib/app_version.rb
index 2f235d1eabe35cf388278435459ae78947107cde..abcf40ee3666622d9b2c0209531cd733c730f783 100644
(file)
--- a/
services/api/lib/app_version.rb
+++ b/
services/api/lib/app_version.rb
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
# If you change this file, you'll probably also want to make the same
# changes in apps/workbench/lib/app_version.rb.
# If you change this file, you'll probably also want to make the same
# changes in apps/workbench/lib/app_version.rb.
@@
-30,7
+34,7
@@
class AppVersion
if @hash.nil? or @hash.empty?
begin
local_modified = false
if @hash.nil? or @hash.empty?
begin
local_modified = false
- git("status", "-
s
") do |git_pipe|
+ git("status", "-
-porcelain
") do |git_pipe|
git_pipe.each_line do |_|
local_modified = true
# Continue reading the pipe so git doesn't get SIGPIPE.
git_pipe.each_line do |_|
local_modified = true
# Continue reading the pipe so git doesn't get SIGPIPE.