Skip to content
Snippets Groups Projects
  • Kostia Balytskyi's avatar
    4b9b8793
    contrib: run editmergeps.ps1 from the same location as editmergeps.bat · 4b9b8793
    Kostia Balytskyi authored
    This change is needed for cases when user does not put editmergeps.bat
    directly into PATH, but rather uses 'merge-tools.editmergeps.executable'
    config option to provide a full path to editmergeps.bat. In such cases,
    editmergeps.ps1 cannot be run simply by name, it needs a full path. In
    BATCH file %~dp0 stands for the directory in which the original file
    is located.
    4b9b8793
    History
    contrib: run editmergeps.ps1 from the same location as editmergeps.bat
    Kostia Balytskyi authored
    This change is needed for cases when user does not put editmergeps.bat
    directly into PATH, but rather uses 'merge-tools.editmergeps.executable'
    config option to provide a full path to editmergeps.bat. In such cases,
    editmergeps.ps1 cannot be run simply by name, it needs a full path. In
    BATCH file %~dp0 stands for the directory in which the original file
    is located.
editmergeps.bat 102 B