{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3496","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3496/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3496/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3496/events","html_url":"https://github.com/fish-shell/fish-shell/issues/3496","id":185381105,"number":3496,"title":"Merging history does not work","user":{"login":"edouard-lopez","id":1212392,"avatar_url":"https://avatars.githubusercontent.com/u/1212392?v=3","gravatar_id":"","url":"https://api.github.com/users/edouard-lopez","html_url":"https://github.com/edouard-lopez","followers_url":"https://api.github.com/users/edouard-lopez/followers","following_url":"https://api.github.com/users/edouard-lopez/following{/other_user}","gists_url":"https://api.github.com/users/edouard-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/edouard-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edouard-lopez/subscriptions","organizations_url":"https://api.github.com/users/edouard-lopez/orgs","repos_url":"https://api.github.com/users/edouard-lopez/repos","events_url":"https://api.github.com/users/edouard-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/edouard-lopez/received_events","type":"User","site_admin":false},"labels":[{"id":4724780,"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/question","name":"question","color":"f9d0c4","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-10-26T12:36:37Z","updated_at":"2016-11-20T06:42:47Z","closed_at":"2016-11-03T09:37:49Z","body":"**related**:  [History synchronization](#825)\n### Env\n\n**fish version installed** _(`fish --version`)_:\n\n```\n$ fish --version\nfish, version 2.3.1\n```\n\n**OS**: \n\n```\n$ lsb_release -a\nDistributor ID: LinuxMint\nDescription:    Linux Mint 18 Sarah\nRelease:        18\nCodename:       sarah\n```\n\n**Terminal**\n\n```\nyakuake -v\nQt: 4.8.7\nKDE Development Platform: 4.14.16\nYakuake: 2.9.9\n\n```\n\n**tmux**\n\n```\n$ tmux -V\ntmux 2.1\n```\n\n**config.fish**\n\nSee my [`dotfiles` repo for my `configh.fish`](https://github.com/edouard-lopez/dotfiles/blob/57b566990929c57c4e82385943cf507c4e94f988/.my-fishrc) \n## Reproduction steps\n1. open tmux ;\n2. add a new pane (i.e. new `fish` process) ;\n3. type `echo pom` in fish-1 instance ;\n4. go to fish-2, look-up in history for `echo pom`.\n## Results\n\nNo trace of `echo pom` command even when running `history --merge` on both fish instance\n\n**update**: \n1. add `config.fish` link.\n"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/261762206","html_url":"https://github.com/fish-shell/fish-shell/issues/3496#issuecomment-261762206","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3496","id":261762206,"user":{"login":"ridiculousfish","id":920838,"avatar_url":"https://avatars.githubusercontent.com/u/920838?v=3","gravatar_id":"","url":"https://api.github.com/users/ridiculousfish","html_url":"https://github.com/ridiculousfish","followers_url":"https://api.github.com/users/ridiculousfish/followers","following_url":"https://api.github.com/users/ridiculousfish/following{/other_user}","gists_url":"https://api.github.com/users/ridiculousfish/gists{/gist_id}","starred_url":"https://api.github.com/users/ridiculousfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridiculousfish/subscriptions","organizations_url":"https://api.github.com/users/ridiculousfish/orgs","repos_url":"https://api.github.com/users/ridiculousfish/repos","events_url":"https://api.github.com/users/ridiculousfish/events{/privacy}","received_events_url":"https://api.github.com/users/ridiculousfish/received_events","type":"User","site_admin":false},"created_at":"2016-11-20T06:42:47Z","updated_at":"2016-11-20T06:42:47Z","body":"Not zeroing `first_unwritten_new_item_index` is definitely a bug, and the fix appears to fix @cjthompson 's test case (thanks for the great repro steps by the way!)\r\n\r\nPlease give it a try and let us know if it doesn't work."}}
{"actor":{"display_login":"ridiculousfish"}}