X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=dot.go;fp=dot.go;h=d40c22069db080213c4c9e3c697211bd3d19af63;hb=24cc8b5a500dddf0d3823f905581827dad556c9c;hp=a77ec69197fda3e1b2c07daf950de2a542f73d8c;hpb=5523f17400ef19dfaad1a669756b298e73a07e19;p=goredo.git diff --git a/dot.go b/dot.go index a77ec69..d40c220 100644 --- a/dot.go +++ b/dot.go @@ -52,8 +52,8 @@ func dotWalker(data map[DotNodes]bool, tgt *Tgt) (map[DotNodes]bool, error) { switch typ { case DepTypeIfcreate: data[DotNodes{tgt.rel, NewTgt(path.Join(tgtH, string(chunk))).rel}] = true - case DepTypeIfchange, DepTypeIfchangeDummy: - if typ == DepTypeIfchangeDummy { + case DepTypeIfchange, DepTypeIfchangeNonex: + if typ == DepTypeIfchangeNonex { name = string(chunk) } else { name = string(chunk[InodeLen+HashLen:])