aboutsummaryrefslogtreecommitdiffstats
path: root/.be/bugs/0cad2ac6-76ef-4a88-abdf-b2e02de76f5c/comments/202e0dc6-61bf-4b17-a8bd-f8a27482cb68/body
blob: ccc18ea9812c6886c0ea3d8eba1cce048cfd65d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
Fixed another bug in git.strip_git().  lstrip() wasn't what I had thought.

>>> "/a.b/.be/x/y".lstrip("/a.b/")
'e/x/y'

So I went back to just droping the first N chars

>>> "/a.b/.be/x/y"[len("/a.b/"):]
'.be/x/y'