diff options
-rw-r--r-- | org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/DhtRefDatabase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/DhtRefDatabase.java b/org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/DhtRefDatabase.java index a1f910ea2a..b4394494a9 100644 --- a/org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/DhtRefDatabase.java +++ b/org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/DhtRefDatabase.java @@ -337,7 +337,7 @@ public class DhtRefDatabase extends RefDatabase { RefList<DhtRef> sym = oldCache.sym; if (ref.isSymbolic()) { - sym.put(ref); + sym = sym.put(ref); } else { int p = sym.find(refName); if (0 <= p) |