diff options
Diffstat (limited to 'src/lib/git_events.rs')
| -rw-r--r-- | src/lib/git_events.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/git_events.rs b/src/lib/git_events.rs index 32c23ac..dde0e1a 100644 --- a/src/lib/git_events.rs +++ b/src/lib/git_events.rs | |||
| @@ -88,6 +88,8 @@ pub fn status_kinds() -> Vec<Kind> { | |||
| 88 | pub const KIND_PULL_REQUEST: Kind = Kind::Custom(1618); | 88 | pub const KIND_PULL_REQUEST: Kind = Kind::Custom(1618); |
| 89 | pub const KIND_PULL_REQUEST_UPDATE: Kind = Kind::Custom(1619); | 89 | pub const KIND_PULL_REQUEST_UPDATE: Kind = Kind::Custom(1619); |
| 90 | pub const KIND_USER_GRASP_LIST: Kind = Kind::Custom(10317); | 90 | pub const KIND_USER_GRASP_LIST: Kind = Kind::Custom(10317); |
| 91 | /// NIP-22 comment (kind 1111) — threaded comments on any event. | ||
| 92 | pub const KIND_COMMENT: Kind = Kind::Custom(1111); | ||
| 91 | 93 | ||
| 92 | pub fn event_is_patch_set_root(event: &Event) -> bool { | 94 | pub fn event_is_patch_set_root(event: &Event) -> bool { |
| 93 | event.kind.eq(&Kind::GitPatch) | 95 | event.kind.eq(&Kind::GitPatch) |