Don't check direct deps when doing change pruning. Since dependents of a node don't have access to its dependencies ("grandparents don't know grandchildren", or vice versa, depending on your point of view), changes to a node's dependencies can't affect downstream nodes.
--
MOS_MIGRATED_REVID=114143894
diff --git a/src/main/java/com/google/devtools/build/skyframe/InMemoryNodeEntry.java b/src/main/java/com/google/devtools/build/skyframe/InMemoryNodeEntry.java
index c23b822..7b885b8 100644
--- a/src/main/java/com/google/devtools/build/skyframe/InMemoryNodeEntry.java
+++ b/src/main/java/com/google/devtools/build/skyframe/InMemoryNodeEntry.java
@@ -54,10 +54,10 @@
private SkyValue value = null;
/**
- * The last version of the graph at which this node entry was changed. In {@link #setValue} it
- * may be determined that the data being written to the graph at a given version is the same as
- * the already-stored data. In that case, the version will remain the same. The version can be
- * thought of as the latest timestamp at which this entry was changed.
+ * The last version of the graph at which this node's value was changed. In {@link #setValue} it
+ * may be determined that the value being written to the graph at a given version is the same as
+ * the already-stored value. In that case, the version will remain the same. The version can be
+ * thought of as the latest timestamp at which this value was changed.
*/
protected Version lastChangedVersion = MinimalVersion.INSTANCE;