diff2typo #1038
RainRat
started this conversation in
Show and tell
diff2typo
#1038
Replies: 2 comments
-
I did a major update: |
Beta Was this translation helpful? Give feedback.
0 replies
-
FWIW, I usually use the following command to get a rough summary but something more refined sounds good. git diff HEAD^! --word-diff-regex='\w+' -U0 \
| grep -E '\[\-.*\-\]\{\+.*\+\}' \
| sed -r 's/.*\[\-(.*)\-\]\{\+(.*)\+\}.*/\1 -> \2/' \
| sort | uniq -c | sort -n |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm experimenting with a tool that can turn diffs into
typos
data files.https://github.com/RainRat/diff2typo
git diff [parameters] > diff.txt
git diff [parameters] >> diff.txt
python diff2typo.py --input_file diff.txt --output_file typos.txt --typos_tool_path typos/typos
Beta Was this translation helpful? Give feedback.
All reactions