diff options
Diffstat (limited to 'src/lib/git_events.rs')
| -rw-r--r-- | src/lib/git_events.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/git_events.rs b/src/lib/git_events.rs index 69406c1..80793bd 100644 --- a/src/lib/git_events.rs +++ b/src/lib/git_events.rs | |||
| @@ -58,6 +58,9 @@ pub fn status_kinds() -> Vec<Kind> { | |||
| 58 | ] | 58 | ] |
| 59 | } | 59 | } |
| 60 | 60 | ||
| 61 | pub const KIND_PULL_REQUEST: Kind = Kind::Custom(1618); | ||
| 62 | pub const KIND_PULL_REQUEST_UPDATE: Kind = Kind::Custom(1619); | ||
| 63 | |||
| 61 | pub fn event_is_patch_set_root(event: &Event) -> bool { | 64 | pub fn event_is_patch_set_root(event: &Event) -> bool { |
| 62 | event.kind.eq(&Kind::GitPatch) | 65 | event.kind.eq(&Kind::GitPatch) |
| 63 | && event | 66 | && event |