<commit_before>@echo off

:: guard against appending to path more than once
@if not defined __PRIORPATH__ set __PRIORPATH__=%PATH%

:: clean up after any previous invocations
set PATH=%__PRIORPATH__%
set CommandPromptType=
set DevEnvDir=
set ExtensionSdkDir=
set Framework40Version=
set FrameworkDir=
set FrameworkDir32=
set FrameworkVersion=
set FrameworkVersion32=
set FSHARPINSTALLDIR=
set INCLUDE=
set LIB=
set LIBPATH=
set NETFXSDKDir=
set UCRTVersion=
set UniversalCRTSdkDir=
set VCIDEInstallDir=
set VCINSTALLDIR=
set VCToolsInstallDir=
set VCToolsRedistDir=
set VCToolsVersion=
set VisualStudioVersion=
set VS160COMNTOOLS=
set VSCMD_ARG_app_plat=
set VSCMD_ARG_HOST_ARCH=
set VSCMD_ARG_TGT_ARCH=
set VSCMD_VER=
set VSINSTALLDIR=
set WindowsLibPath=
set WindowsSdkBinPath=
set WindowsSdkDir=
set WindowsSDKLibVersion=
set WindowsSdkVerBinPath=
set WindowsSDKVersion=
set WindowsSDK_ExecutablePath_x64=
set WindowsSDK_ExecutablePath_x86=
set __DOTNET_ADD_32BIT=
set __DOTNET_PREFERRED_BITNESS=
set __VSCMD_PREINIT_PATH=
set __VSCMD_script_err_count=

:: include this directory in PATH
set "PATH=%~dp0;%PATH%"

:: add Beyond Compare to path if found
if exist "%ProgramW6432%\Beyond Compare 4" (
  set "PATH=%ProgramW6432%\Beyond Compare 4;%PATH%"
)

:: add hub to path if found, and alias git to itz
:: https://github.com/github/hub
if exist "%UserProfile%\OneDrive\Tools\Hub\bin\hub.exe" (
  set "PATH=%UserProfile%\OneDrive\Tools\Hub\bin;%PATH%"
  doskey git=hub $*
)

:: load macros
doskey /macrofile=%~dp0macros.ini

:: load VS developer command prompt
set VSCMD_START_DIR=%CD%
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Preview\Common7\Tools\VSDevCmd.bat" (
  call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Preview\Common7\Tools\VSDevCmd.bat"
)
<commit_msg>Add more from git msys to PATH<commit_after>@echo off

:: guard against appending to path more than once
@if not defined __PRIORPATH__ set __PRIORPATH__=%PATH%

:: clean up after any previous invocations
set PATH=%__PRIORPATH__%
set CommandPromptType=
set DevEnvDir=
set ExtensionSdkDir=
set Framework40Version=
set FrameworkDir=
set FrameworkDir32=
set FrameworkVersion=
set FrameworkVersion32=
set FSHARPINSTALLDIR=
set INCLUDE=
set LIB=
set LIBPATH=
set NETFXSDKDir=
set UCRTVersion=
set UniversalCRTSdkDir=
set VCIDEInstallDir=
set VCINSTALLDIR=
set VCToolsInstallDir=
set VCToolsRedistDir=
set VCToolsVersion=
set VisualStudioVersion=
set VS160COMNTOOLS=
set VSCMD_ARG_app_plat=
set VSCMD_ARG_HOST_ARCH=
set VSCMD_ARG_TGT_ARCH=
set VSCMD_VER=
set VSINSTALLDIR=
set WindowsLibPath=
set WindowsSdkBinPath=
set WindowsSdkDir=
set WindowsSDKLibVersion=
set WindowsSdkVerBinPath=
set WindowsSDKVersion=
set WindowsSDK_ExecutablePath_x64=
set WindowsSDK_ExecutablePath_x86=
set __DOTNET_ADD_32BIT=
set __DOTNET_PREFERRED_BITNESS=
set __VSCMD_PREINIT_PATH=
set __VSCMD_script_err_count=

:: include this directory in PATH
set "PATH=%~dp0;%PATH%"

:: add Beyond Compare to path if found
if exist "%ProgramW6432%\Beyond Compare 4" (
  set "PATH=%PATH%;%ProgramW6432%\Beyond Compare 4"
)

:: add Git to path if found
if exist "%ProgramW6432%\Git\mingw64\bin" (
  :: at the end to avoid conflicts such as find.exe breaking Windows things
  set "PATH=%PATH%;%ProgramW6432%\Git\mingw64\bin;%ProgramW6432%\Git\usr\bin"
  :: but let me type find interactively and get the UNIX find
  doskey find="%ProgramW6432%\Git\usr\bin\find.exe" $*
)

:: add hub to path if found, and alias git to itz
:: https://github.com/github/hub
if exist "%UserProfile%\OneDrive\Tools\Hub\bin\hub.exe" (
  set "PATH=%UserProfile%\OneDrive\Tools\Hub\bin;%PATH%"
  doskey git=hub $*
)

:: load macros
doskey /macrofile=%~dp0macros.ini

:: load VS developer command prompt
set VSCMD_START_DIR=%CD%
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Preview\Common7\Tools\VSDevCmd.bat" (
  call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Preview\Common7\Tools\VSDevCmd.bat"
)

{'fraction_non_alphanumeric': 0.09252217997465145, 'fraction_numerical': 0.02585551330798479, 'mean_word_length': 6.487666034155597, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5473951', 'n_tokens_mistral': 1530, 'n_tokens_neox': 1383, 'n_words': 370}