<commit_before>git-svn-diff
============
Generate an SVN-formatted diff from a Git diff.

Installation
------------
I suggest two alternatives:
* Copy the `git_svn_diff.py` file to some directory in your `$PATH`
* Or create a Git alias:
  `git config alias.svn-diff '!<PATH-TO>/git_svn_diff.py'`

Usage
-----
Execute with the `--help` option to learn what options can be used.

Why Was It Developed?
---------------------
I was working on a project with files hosted by SVN, but I was using git-svn. There was a code review tool
that accepted only strictly SVN-formatted diff files, so I needed something to convert the Git diffs to a
format that the tool would accept. And then this script was born!<commit_msg>Suggest creation of global alias<commit_after>git-svn-diff
============
Generate an SVN-formatted diff from a Git diff.

Installation
------------
I suggest two alternatives:
* Copy the `git_svn_diff.py` file to some directory in your `$PATH`
* Or create a Git alias:
  `git config --global alias.svn-diff '!<PATH-TO>/git_svn_diff.py'`

Usage
-----
Execute with the `--help` option to learn what options can be used.

Why Was It Developed?
---------------------
I was working on a project with files hosted by SVN, but I was using git-svn. There was a code review tool
that accepted only strictly SVN-formatted diff files, so I needed something to convert the Git diffs to a
format that the tool would accept. And then this script was born!
{'fraction_non_alphanumeric': 0.128099173553719, 'fraction_numerical': 0.0, 'mean_word_length': 3.2485380116959064, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2781066', 'n_tokens_mistral': 414, 'n_tokens_neox': 412, 'n_words': 208}