1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-23 21:47:52 +08:00

Fix refs -r -u for #1211

License: MIT
Signed-off-by: Gaetan Voyer-Perrault <gatesvp@gmail.com>
This commit is contained in:
gatesvp
2015-07-28 03:05:01 -04:00
committed by Juan Batiz-Benet
parent a5521fcc76
commit 8fe7d2f571
2 changed files with 24 additions and 4 deletions

View File

@ -232,10 +232,6 @@ func (rw *RefWriter) writeRefsRecursive(n *dag.Node) (int, error) {
return 0, err
}
if rw.skip(nkey) {
return 0, nil
}
var count int
for i, ng := range rw.DAG.GetDAG(rw.Ctx, n) {
lk := key.Key(n.Links[i].Hash)