summaryrefslogtreecommitdiff
path: root/personal
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2018-03-13 07:17:19 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2018-03-18 20:30:11 +0100
commitf39b75f20ec009976f58d66d1f376bc26911eb0d (patch)
treeea50baa5940220ac560059f6493ab26e589eac8c /personal
parentf853096ac0246a493cda7dfd07eaaf58ed9f4e90 (diff)
downloadmemory-leaks-f39b75f20ec009976f58d66d1f376bc26911eb0d.tar.xz
Fix word-counting script
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".
Diffstat (limited to 'personal')
0 files changed, 0 insertions, 0 deletions