You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,8 @@ Changing the name for an existing stat will break the pass/fail comparison until
42
42
43
43
A regular expression to parse the file/stdin for a specific value.
44
44
There should be exactly one capture group in your regular expression (using parentheses) and you can include extra characters like a percent sign "%".
45
-
The extra characters will simply be removed when comparing the values (ex. "36%" will be interpreted as "36") so be careful not to mix units like "mb" vs "gb" as they won't convert automatically (ex. "1mb" and "1gb" will both be interpreted as "1").
45
+
The extra characters will simply be removed when comparing the values (ex. "36%" will be interpreted as "36").
46
+
You'll receive an error if you mix units (ex. "1mb" and "1gb").
46
47
47
48
By default commitstat assumes the input is simply a number and a regex isn't needed (ex. `stat -f %z app.zip | commitstat -`).
0 commit comments