diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/contrib/patchreview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/contrib/patchreview.py b/scripts/contrib/patchreview.py index f95cadab0c..bceae06561 100755 --- a/scripts/contrib/patchreview.py +++ b/scripts/contrib/patchreview.py | |||
| @@ -257,7 +257,7 @@ if __name__ == "__main__": | |||
| 257 | row = collections.Counter() | 257 | row = collections.Counter() |
| 258 | row["total"] = len(results) | 258 | row["total"] = len(results) |
| 259 | row["date"] = subprocess.check_output(["git", "-C", args.directory, "show", "-s", "--pretty=format:%cd", "--date=format:%s"], universal_newlines=True).strip() | 259 | row["date"] = subprocess.check_output(["git", "-C", args.directory, "show", "-s", "--pretty=format:%cd", "--date=format:%s"], universal_newlines=True).strip() |
| 260 | row["commit"] = subprocess.check_output(["git", "-C", args.directory, "show-ref", "--hash", "HEAD"], universal_newlines=True).strip() | 260 | row["commit"] = subprocess.check_output(["git", "-C", args.directory, "rev-parse", "HEAD"], universal_newlines=True).strip() |
| 261 | row['commit_count'] = subprocess.check_output(["git", "-C", args.directory, "rev-list", "--count", "HEAD"], universal_newlines=True).strip() | 261 | row['commit_count'] = subprocess.check_output(["git", "-C", args.directory, "rev-list", "--count", "HEAD"], universal_newlines=True).strip() |
| 262 | row['recipe_count'] = count_recipes(layers) | 262 | row['recipe_count'] = count_recipes(layers) |
| 263 | 263 | ||
