{"action":"created","issue":{"url":"https://api.github.com/repos/mirage/irmin/issues/170","labels_url":"https://api.github.com/repos/mirage/irmin/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/mirage/irmin/issues/170/comments","events_url":"https://api.github.com/repos/mirage/irmin/issues/170/events","html_url":"https://github.com/mirage/irmin/issues/170","id":63753682,"number":170,"title":"After I run update_path, I get Uncommitted changes","user":{"login":"yansh","id":1371050,"avatar_url":"https://avatars.githubusercontent.com/u/1371050?v=3","gravatar_id":"","url":"https://api.github.com/users/yansh","html_url":"https://github.com/yansh","followers_url":"https://api.github.com/users/yansh/followers","following_url":"https://api.github.com/users/yansh/following{/other_user}","gists_url":"https://api.github.com/users/yansh/gists{/gist_id}","starred_url":"https://api.github.com/users/yansh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yansh/subscriptions","organizations_url":"https://api.github.com/users/yansh/orgs","repos_url":"https://api.github.com/users/yansh/repos","events_url":"https://api.github.com/users/yansh/events{/privacy}","received_events_url":"https://api.github.com/users/yansh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-23T15:38:19Z","updated_at":"2015-03-23T18:12:37Z","closed_at":"2015-03-23T18:12:08Z","body":"I need some help to figure this out. I've been struggling with it for a while now. I feel I am missing some fundamental understanding. Could you have a look at the code?:\r\n\r\nhttps://github.com/yansh/MoanaML/blob/master/rete_storage.ml\r\n\r\nI have an issue, when I use recursion for updating the views (At least this is my suspicion)\r\n\r\nFor some reason after running the code, some of the value appear as modified.\r\n```\r\nYan: /tmp/irmin/test/rete git status\r\nOn branch master\r\nChanges to be committed:\r\n  (use \"git reset HEAD <file>...\" to unstage)\r\n\r\n\tmodified:   Rete/Node0/AM/tuples/0\r\n\tmodified:   Rete/Node1/AM/tuples/0\r\n\tmodified:   Rete/Node1/AM/tuples/1\r\n\tmodified:   Rete/Node1/AM/tuples/2\r\n\tmodified:   Rete/Node1/AM/vars/?y/c\r\n\tmodified:   Rete/Node1/AM/vars/?y/c1\r\n\tmodified:   Rete/Node2/AM/tuples/0\r\n\tmodified:   Rete/Node2/AM/tuples/1\r\n\tmodified:   Rete/Node2/AM/tuples/2\r\n\tmodified:   Rete/Node2/AM/tuples/3\r\n\tmodified:   Rete/Node2/AM/vars/?x/a\r\n\tmodified:   Rete/Node2/AM/vars/?x/b\r\n\tmodified:   Rete/Node2/AM/vars/?x/d\r\n\tmodified:   Rete/Node2/AM/vars/?y/Red\r\n\tmodified:   Rete/Node2/AM/vars/?y/c\r\n\tmodified:   Rete/Node3/AM/tuples/0\r\n\r\n\r\n```\r\n\r\nEssentially it commits everything I want it to but then modifies some entries. I presume my use of Lwt.iter_s, plus the use recursion is causing this. \r\n\r\nNot sure what I can do about it...\r\n"},"comment":{"url":"https://api.github.com/repos/mirage/irmin/issues/comments/85128986","html_url":"https://github.com/mirage/irmin/issues/170#issuecomment-85128986","issue_url":"https://api.github.com/repos/mirage/irmin/issues/170","id":85128986,"user":{"login":"samoht","id":103693,"avatar_url":"https://avatars.githubusercontent.com/u/103693?v=3","gravatar_id":"","url":"https://api.github.com/users/samoht","html_url":"https://github.com/samoht","followers_url":"https://api.github.com/users/samoht/followers","following_url":"https://api.github.com/users/samoht/following{/other_user}","gists_url":"https://api.github.com/users/samoht/gists{/gist_id}","starred_url":"https://api.github.com/users/samoht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoht/subscriptions","organizations_url":"https://api.github.com/users/samoht/orgs","repos_url":"https://api.github.com/users/samoht/repos","events_url":"https://api.github.com/users/samoht/events{/privacy}","received_events_url":"https://api.github.com/users/samoht/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T18:12:37Z","updated_at":"2015-03-23T18:12:37Z","body":"The bug is already tracked in the right place ( mirage/ocaml-git#68) so closing :-) "}}