From 32b3748499a2d781ff8db2dc4b25923f2edbdd41 Mon Sep 17 00:00:00 2001 From: Andy Steed Date: Thu, 3 May 2018 11:09:38 -0700 Subject: [PATCH] Update git revision checker to use `-G` instead of `-S` for diff string matching --- bin/show-stablization-candidates.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/show-stablization-candidates.js b/bin/show-stablization-candidates.js index b996eda7d..5e6b9595f 100644 --- a/bin/show-stablization-candidates.js +++ b/bin/show-stablization-candidates.js @@ -56,8 +56,8 @@ function getGitState(schema) { logDebug(`\t-> ${status} -- ${schema}`) // Check revision history of a given schema: // - Retrieve most recent revision as a single, one-line record - // - Determine the most recent change to the `meta:status` key (`-S `) - let git_output = execp(`git log -1 --decorate=auto --oneline -S ${META_STATUS} ${schema}`) + // - Determine the most recent change to the `meta:status` key (`-G `) + let git_output = execp(`git log -1 --decorate=auto --oneline -G ${META_STATUS} ${schema}`) let git_commits = git_output.trim().split('\n') logDebug(`\t\tGit State Commit: ${git_output.trim()}`) let git_latest_revision = git_commits[0]