diff options
Diffstat (limited to 'src/bin/ngit/sub_commands/list.rs')
| -rw-r--r-- | src/bin/ngit/sub_commands/list.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/ngit/sub_commands/list.rs b/src/bin/ngit/sub_commands/list.rs index 9e35b33..95e17f3 100644 --- a/src/bin/ngit/sub_commands/list.rs +++ b/src/bin/ngit/sub_commands/list.rs | |||
| @@ -72,7 +72,10 @@ pub async fn launch() -> Result<()> { | |||
| 72 | 72 | ||
| 73 | let proposals: Vec<nostr::Event> = proposals_and_revisions | 73 | let proposals: Vec<nostr::Event> = proposals_and_revisions |
| 74 | .iter() | 74 | .iter() |
| 75 | .filter(|e| !event_is_revision_root(e)) | 75 | .filter(|e| |
| 76 | // If we wanted to treat to list Pull Requests that revise a Patch we would do this: | ||
| 77 | // e.kind.eq(&KIND_PULL_REQUEST) || | ||
| 78 | !event_is_revision_root(e)) | ||
| 76 | .cloned() | 79 | .cloned() |
| 77 | .collect(); | 80 | .collect(); |
| 78 | 81 | ||