upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/sub_commands
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-07-18 17:33:11 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2025-07-18 17:33:11 +0100
commita3d4c8eaa263f4adb174ac81c4248fa200e1857e (patch)
tree0b786013c3b3da67123e2ff02f95b7c41eb8dfc0 /src/bin/ngit/sub_commands
parent3eb2354edb8e76428625d5645e110c30aa1ccc2a (diff)
feat(pr): fetch pr and pr updates from clone urls
we try and get them from clone urls of repo and fallback to those specified by contributor
Diffstat (limited to 'src/bin/ngit/sub_commands')
-rw-r--r--src/bin/ngit/sub_commands/list.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/ngit/sub_commands/list.rs b/src/bin/ngit/sub_commands/list.rs
index a90b28e..9e35b33 100644
--- a/src/bin/ngit/sub_commands/list.rs
+++ b/src/bin/ngit/sub_commands/list.rs
@@ -219,7 +219,11 @@ pub async fn launch() -> Result<()> {
219 PromptChoiceParms::default() 219 PromptChoiceParms::default()
220 .with_prompt("this is new PR event kind which ngit doesnt yet support") 220 .with_prompt("this is new PR event kind which ngit doesnt yet support")
221 .with_default(0) 221 .with_default(0)
222 .with_choices(vec!["back to proposals".to_string()]), 222 .with_choices(vec![
223 // TODO enable checkout by fetching oids, creating / updating branch and
224 // checking out
225 "back to proposals".to_string(),
226 ]),
223 )? { 227 )? {
224 0 => continue, 228 0 => continue,
225 _ => { 229 _ => {