summaryrefslogtreecommitdiff
path: root/update-count.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update-count.sh')
-rwxr-xr-xupdate-count.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update-count.sh b/update-count.sh
index e7ebf8f..eb9b5e2 100755
--- a/update-count.sh
+++ b/update-count.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-list-committed ()
+list-tracked ()
{
GIT_LITERAL_PATHSPECS='' git ls-files '*.md'
}
@@ -21,7 +21,7 @@ count-leaks ()
-read words pages < <(list-committed | count-leaks)
+read words pages < <(list-tracked | count-leaks)
pattern="\([0-9]*\) words in \([0-9]*\) pages"
actual="${words} words in ${pages} pages"