• Repository Searching

    pjhyett 20 May 2008

    We’ve just rolled out a search box on every repository that allows you to search by a number of criteria.

    As always, your feedback how we can tweak the search to make it better is appreciated.

    To kick this feature off right, post your favorite search in the comments.

  • Comments

    pjhyett Tue May 20 12:56:22 -0700 2008

    Me first! (possibly not safe for work)

    http://github.com/github/linux-2.6/search?q=fuck&choice=code

    mdaines Tue May 20 13:04:08 -0700 2008
    jashkenas Tue May 20 13:50:09 -0700 2008

    Works beautifully. But it might be nice to include the lines before and after for a little more context. Many searches get cut off mid-sentence.

    meekish Tue May 20 14:18:14 -0700 2008

    Would be nice if the line number in the search result was an anchored link to the source file.

    mattetti Wed May 21 00:14:00 -0700 2008

    totally awesome but I agree with meekish, a link to the source file would be great.

    grempe Wed May 21 00:22:34 -0700 2008

    Case insensitivity. FIXME != fixme and it should in a search form.

    Multiple search terms (todo OR fixme OR bug)

    Good stuff!

    gerrit Wed May 21 03:49:35 -0700 2008

    when the search matches multiple lines from one file t looks at first glance like they are successive lines, you have to look at the low-contrast line-numbers to the left to realise there are gaps in between the matches. it would be nice if there was placeholder line showing the omission

    kballard Wed May 21 15:46:18 -0700 2008

    I find it very odd that this search field exists on the edit page.

    kballard Wed May 21 15:46:18 -0700 2008

    I find it very odd that this search field exists on the edit page.

    Please log in to comment.