sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
274 stars 14 forks source link

`U+0060` symbols in a commit message remove text between #1148

Open 51ck opened 3 years ago

51ck commented 3 years ago

Version info

Description

When I use a U+0060 symbols to highlight anything in a commit message, the text I want to highlight disappears on commit.

Steps to reproduce

Steps to reproduce the behavior:

  1. Commit anything with any text between U+0060's

Expected behavior

Commit message stays the same as I write)

dpjohnst commented 3 years ago

Hi @51ck,

Thanks for reporting this issue - I've been unable to reproduce the issue on my end so far unfortunately.

Could you share your Sublime Merge Debug Information - accessible via Help > Debug Information. Before sharing this, please remove any information you feel is sensitive (repository remotes, email addresses, file paths etc)

Thanks, - Dylan

51ck commented 3 years ago

Hi, @dpjohnst, Thank you, I found the reason: it happens because I use custom git binary (wslgit)

The debug info, btw:

=== App Version Information ===
Build: 2056

=== Git Version Information ===
Using Git: C:\Users\****\AppData\Roaming\wslgit\cmd\wslgit.exe (custom)
git version 2.17.1
PATH: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\ProgramData\nvm;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Users\****\AppData\Local\Microsoft\WindowsApps;C:\Users\****\AppData\Local\Programs\Microsoft VS Code Insiders\bin;C:\Users\****\AppData\Local\gitkraken\bin

=== Browse Page Information ===
HEAD: 1062223e40511fa8fb12fd3bc925d15ca3144124
Is in merge: 0
Is in cherry_pick: 0
Is in rebase: 0
Is in revert: 0

=== Git Status Information ===
?? readme

=== Our Status Information ===
?? readme

=== Git Config Information ===
core.bare=false
core.filemode=true
core.ignorecase=true
core.logallrefupdates=true
core.repositoryformatversion=0
user.email=s***@***m
user.name=51ck

=== Our Config Information ===
Git Config Path Information
Using config path: /C/ProgramData/Git/config
Using config path: /C/Users/****/AppData/Roaming/wslgit/mingw64/etc/gitconfig
Using config path: /C/Users/****/.config/git/config
Using config path: /C/Users/****/.gitconfig
Using config path: /C/Users/****/Projects/Private/test/.git/config

Our config output is different to the Git config output
core.autocrlf=false
core.bare=false
core.filemode=true
core.ignorecase=true
core.logallrefupdates=true
core.longpaths=true
core.repositoryformatversion=0
user.email=s***@***m
user.name=51ck

=== Git Attributes Information ===
git check_attr --all output

=== Our Modified Files Newline Normalisation and EOL Information ===

=== Our Modified Files Flag Information ===
Ignoring symlinks: 0