~ori/git9

4c0efaa3b6e543926aa7e36e1f98aaec7f8b0674 — Ori Bernstein 3 years ago b060b77
git/branch: create correct dirs on branch switch

we were garbling the strings.
1 files changed, 1 insertions(+), 1 deletions(-)

M branch
M branch => branch +1 -1
@@ 74,7 74,7 @@ if(! ~ $#dirtypaths 0){
	cleanpaths=`$nl{echo $"x$nl$"y | sort | uniq -u}
}
if(! ~ $#cleanpaths 0)
	cleandirs=`$nl{echo $nl^$cleanpaths | sed 's@/[^/]+/?$@@' | uniq}
	cleandirs=`$nl{{for(p in $cleanpaths) basename -d $p} | uniq}
if(! ~ $#cleandirs 0){
	mkdir -p $cleandirs
	mkdir -p .git/index9/tracked/$cleandirs