git/branch: somewhere in the syncing, the fix for junk files was lost
bring it back.
This commit is contained in:
parent
a2a0717c99
commit
78d2064a7c
1 changed files with 4 additions and 1 deletions
|
@ -74,8 +74,11 @@ if(! ~ $#dirtypaths 0){
|
|||
y=$nl^$dirtypaths
|
||||
cleanpaths=`$nl{echo $"x$nl$"y | sort | uniq -u}
|
||||
}
|
||||
|
||||
# creating the dirs with a single
|
||||
# batch mkdir was significantly faster.
|
||||
if(! ~ $#cleanpaths 0)
|
||||
cleandirs=`$nl{echo $nl^$cleanpaths | sed 's@/[^/]+/?$@@' | uniq}
|
||||
cleandirs=`$nl{for(p in $cleanpaths) basename -d $p | uniq -u}
|
||||
if(! ~ $#cleandirs 0){
|
||||
mkdir -p $cleandirs
|
||||
mkdir -p .git/index9/tracked/$cleandirs
|
||||
|
|
Loading…
Reference in a new issue