# If you change this file, you'll probably also want to make the same
-# changes in apps/workbench/lib/app_version.rb.
+# changes in services/api/lib/app_version.rb.
class AppVersion
def self.git(*args, &block)
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 |_|
STDERR.puts _
local_modified = true