mirror of
https://github.com/git/git.git
synced 2026-04-12 01:40:10 +02:00
remove doubled words, e.g., s/to to/to/, and fix related typos
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>
This commit is contained in:
committed by
Junio C Hamano
parent
5e31075a19
commit
0353a0c4ec
@@ -29,7 +29,7 @@ You can specify the following configuration variables when building GIT:
|
||||
The filesystem traversing limit for getting the project list; the number
|
||||
is taken as depth relative to the projectroot. It is used when
|
||||
GITWEB_LIST is a directory (or is not set; then project root is used).
|
||||
Is is meant to speed up project listing on large work trees by limiting
|
||||
This is meant to speed up project listing on large work trees by limiting
|
||||
search depth. [Default: 2007]
|
||||
* GITWEB_LIST
|
||||
Points to a directory to scan for projects (defaults to project root
|
||||
|
||||
Reference in New Issue
Block a user