Reported bug with utf-8 strings
[be.git] / .be / bea86499-824e-4e77-b085-2d581fa9ccab / bugs / 0cad2ac6-76ef-4a88-abdf-b2e02de76f5c / comments / 7e733393-8ba0-4345-a0e3-4140101d32f0 / body
1 Oops, missed a case.  I now see what Hubert was saying about absolute
2 paths :p.  In git.strip_git(), the output of git_repo_for_path('.')
3 was being subtracted from an absolute path.  Obviously, if the path
4 was returning '.', you'd get things like
5
6 filename=
7 /home/wking/src/fun/testbe/.be/bugs/c3bf839b-88f9-4609-89a2-6a5b75c415b8/values
8
9 stripping 2 chars ('.' and '/')], returns
10 ome/wking/src/fun/testbe/.be/bugs/c3bf839b-88f9-4609-89a2-6a5b75c415b8/values
11
12
13 Now we convert the git_repo_for_path output to an absolute path and get
14
15 filename=
16 /home/wking/src/fun/testbe/.be/bugs/c3bf839b-88f9-4609-89a2-6a5b75c415b8/values
17 absRepoPath=
18 /home/wking/src/fun/testbe
19 absRepoSlashedDir=
20 /home/wking/src/fun/testbe/
21 returns
22 .be/bugs/c3bf839b-88f9-4609-89a2-6a5b75c415b8/values
23