Skip to content

Specifying snippet #1

@lorensr

Description

@lorensr
  1. Commit hash and line numbers - easiest to implement, most brittle, relies on PRs to update
  2. Commit hash and search terms for start/end - need to update commit manually, and you can check if it is still relevant
  3. Search terms and branch name - updates automatically, might break if search terms are not found
  4. Search terms and branch name - we follow every commit and notify when relevant lines are modified

I prefer branch. Can you do line numbers and keep track of how those line numbers change based on git? So I specify lines 10-20 on master/file.js, and when there's a new commit that adds two lines at line 15, my YAML/JSON gets auto-changed to lines 10-22? If not, I'd prefer search terms, and notifying only when the search term breaks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions