aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/git-annex_adds_unicode_characters_at_end_of_checksum/comment_5_a160bb3ce6b8b6e1fe03d649f710806e._comment
blob: f3e504313cc94df23bb35b8c198996c6790edbcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[[!comment format=mdwn
 username="i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9"
 nickname="i"
 avatar="http://cdn.libravatar.org/avatar/661785c9bf4c87cc795f130b47a1c4ae"
 subject="fixed prev commend"
 date="2018-03-03T16:55:16Z"
 content="""
Oh man, yes, yes it does have something to do with extensions, it does not matter what it is, it gets added at the end if it is prefixed by a dot, even if there is something like a closing bracket in there:

[[!format sh \"\"\"
 % g an calckey test.wtf.mp3 
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.wtf.mp3
 % g an calckey test.wtf\).mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.wtf.mp3
\"\"\"]]

So it looks like I can avoid this issue by simply adding a space within the last segment after the dot, for example:

[[!format sh \"\"\"
 % g an calckey 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3 
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
 % g an calckey 12.\ Change\ The\ World\ \(feat.\ 웅산\ \).mp3 
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.mp3
\"\"\"]]
"""]]