Skip to content
Snippets Groups Projects

search docs: update predicate docs to reflect new `repo:has...` syntax

Merged Warren Gifford requested to merge tl/update-docs-preds-has-syntax into main

Created by: tbliu98

Stacked on #40765 Part of https://github.com/sourcegraph/sourcegraph/issues/39767

Updates search query docs to reflect the new repo:has... predicate syntax. For now, existing predicates using repo:contains syntax still work.

repo: predicates have been updated: Screen Shot 2022-08-23 at 5 28 14 PM

file: predicates have been updated: Screen Shot 2022-08-23 at 5 29 21 PM

Examples have been updated. Docs on repohasfile and repohascommitafter have been removed as they were already marked as deprecated and the new syntax effectively takes their place.

Test plan

Manually verify docsite updates

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading