mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
0353a0c4ec
I found that some doubled words had snuck back into projects from which I'd already removed them, so now there's a "syntax-check" makefile rule in gnulib to help prevent recurrence. Running the command below spotted a few in git, too: git ls-files | xargs perl -0777 -n \ -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt])\s+\1\b/gims)' \ -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g;' \ -e 'print "$ARGV:$n:$v\n"}' Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
---|---|---|
.. | ||
fast_export.c | ||
fast_export.h | ||
LICENSE | ||
line_buffer.c | ||
line_buffer.h | ||
line_buffer.txt | ||
obj_pool.h | ||
repo_tree.c | ||
repo_tree.h | ||
string_pool.c | ||
string_pool.h | ||
string_pool.txt | ||
svndump.c | ||
svndump.h | ||
trp.h | ||
trp.txt |