From f39b75f20ec009976f58d66d1f376bc26911eb0d Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 13 Mar 2018 07:17:19 +0100 Subject: Fix word-counting script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Magit uses --literal-pathspecs when committing, so ls-files failed to expand '*.md' in the word-counting script. For a wild ride, I recommend going through Git's get_global_magic() function in pathspec.c, which juggles with… - GIT_FOO_PATHSPECS environment variables; - --foo-pathspecs CLI arguments; - ":(foo)" magic suffixes; … where foo can be "literal", "glob", "noglob", or "icase". --- index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.md') diff --git a/index.md b/index.md index dffbb9d..2bd90eb 100644 --- a/index.md +++ b/index.md @@ -1,5 +1,6 @@ # Peniblec's Memory Leaks -## still reachable: 0 words in 0 pages +## possibly lost: 530 words in 1 pages +## still reachable: 240 words in 1 pages Hi! I am a software engineer interested in [a bunch of things]. -- cgit v1.2.3