9944: Add 'lockfile' to backports and update cwltool dependency
[arvados.git] / services / api / lib / app_version.rb
index 2f235d1eabe35cf388278435459ae78947107cde..769f4e5ed86cbf65f2ee8afd1ad79a1c47bea1dc 100644 (file)
@@ -30,7 +30,7 @@ class AppVersion
     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.