Weird backslash behaviour

4 views
Skip to first unread message

Roland Bengtsson

unread,
Aug 19, 2023, 3:59:07 PM8/19/23
to SmartGit
Hi I tried to use symbolic links but it makes me confused.

From commandline
C:\Attracs\Attracs-External\deploy\res>

mklink WayBill.fr3 C:\Attracs\Attracs-Common\deploy\res\WayBill.fr3

symbolic link created for WayBill.fr3 <<===>> C:\Attracs\Attracs-Common\deploy\res\WayBill.fr3

So this works fine. The link is shown as type .symlink in Explorer.

To ensure it looks the same when git recreate it I rename the link to _WayBill.fr3
I use SmartGit client and it is shown as missing.
When I pull the file is created again with name WayBill.fr3.

But Explorer show it with type fr3 ?

Filecontents in _WayBill.fr3
C:\Attracs\Attracs-Common\deploy\res\WayBillBatch.fr3

Filecontents in WayBill.fr3
C:/Attracs/Attracs-Common/deploy/res/WayBill.fr3

So slash is not identical as original. What happened here?
Maybe any setting to change?

Git            2.35.0.windows.1
SmartGit 22.1.7
Windows 10 Pro 22H2
Reply all
Reply to author
Forward
0 new messages