{"action":"opened","issue":{"url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/106","repository_url":"https://api.github.com/repos/BurntSushi/ripgrep","labels_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/106/comments","events_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/106/events","html_url":"https://github.com/BurntSushi/ripgrep/issues/106","id":179309300,"number":106,"title":"panic in gitignore handling","user":{"login":"daaku","id":593,"avatar_url":"https://avatars.githubusercontent.com/u/593?v=3","gravatar_id":"","url":"https://api.github.com/users/daaku","html_url":"https://github.com/daaku","followers_url":"https://api.github.com/users/daaku/followers","following_url":"https://api.github.com/users/daaku/following{/other_user}","gists_url":"https://api.github.com/users/daaku/gists{/gist_id}","starred_url":"https://api.github.com/users/daaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daaku/subscriptions","organizations_url":"https://api.github.com/users/daaku/orgs","repos_url":"https://api.github.com/users/daaku/repos","events_url":"https://api.github.com/users/daaku/events{/privacy}","received_events_url":"https://api.github.com/users/daaku/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-26T18:56:52Z","updated_at":"2016-09-26T18:56:52Z","closed_at":null,"body":"I got this panic. Looks like it's in the gitignore logic -- I can't share the whole file, but if you could guide me to figure out which line it's failing on I can share that.\r\n\r\n```\r\nthread 'main' panicked at 'called `Option::unwrap()` on a `None` value', ../src/libcore/option.rs|325| 5\r\n|| stack backtrace:\r\n|1| :           0x4fb292 - std::sys::backtrace::tracing::imp::write::h4b09e6e8c01db097\r\n|2| :           0x4ff86d - std::panicking::default_hook::{{closure}}::h1d3243f546573ff4\r\n|3| :           0x4fe6fa - std::panicking::default_hook::h96c288d728df3ebf\r\n|4| :           0x4fecf8 - std::panicking::rust_panic_with_hook::hb1322e5f2588b4db\r\n|5| :           0x4feb92 - std::panicking::begin_panic::hfbeda5aad583dc32\r\n|6| :           0x4fead0 - std::panicking::begin_panic_fmt::h4fe9fb9d5109c4bf\r\n|7| :           0x4fea51 - rust_begin_unwind\r\n|8| :           0x5548ec - core::panicking::panic_fmt::h4395919ece15c671\r\n|9| :           0x55481b - core::panicking::panic::hc74ff52ed78364e1\r\n10:         || x41ae18 - rg::gitignore::GitignoreBuilder::add_path::h706ac92f76fbec29\r\nat /buildslave/rust-buildbot/slave/nightly-dist-rustc-musl-linux/build/obj/../src/libcore/macros.rs|21| 1\r\nat /home/travis/build/BurntSushi/ripgrep/src/gitignore.rs|301| 1\r\nat /home/travis/build/BurntSushi/ripgrep/src/gitignore.rs|265| 5\r\n11:         || x41f708 - rg::ignore::IgnoreDir::with_ignore_names::h6235506834840d62\r\nat /home/travis/build/BurntSushi/ripgrep/src/ignore.rs|365| 5\r\n12:         || x41eb56 - rg::ignore::Ignore::push::he3c5dc3b90e6c6a8\r\nat /home/travis/build/BurntSushi/ripgrep/src/ignore.rs|326| 6\r\nat /home/travis/build/BurntSushi/ripgrep/src/ignore.rs|192| 2\r\n13:         || x43d4c7 - rg::run::hacc2ea9b10689e6d\r\nat /home/travis/build/BurntSushi/ripgrep/src/walk.rs|64| 4\r\nat /home/travis/build/BurntSushi/ripgrep/src/main.rs|132| 2\r\n14:         || x437f4b - rg::main::h38b472398f351607\r\nat /buildslave/rust-buildbot/slave/nightly-dist-rustc-musl-linux/build/obj/../src/libcore/result.rs|601| 1\r\nat /home/travis/build/BurntSushi/ripgrep/src/main.rs|78| 8\r\n15:         || x5071c6 - __rust_maybe_catch_panic\r\n16:         || x4fe0ca - std::rt::lang_start::haaae1186de9de8cb\r\n```"}}
{"actor":{"display_login":"daaku"}}