upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/sub_commands/init.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-07-31 15:59:17 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-07-31 15:59:17 +0100
commit3acdeabfc3ab55d3e92d76d92d8ab6ad0383dd09 (patch)
treeb5abbca08ec004d31569db9166c37166c39baef2 /src/sub_commands/init.rs
parent46116e561fb62ad939c53e937461f2346022565d (diff)
feat(remote): `push` issues state event
if no previous state events can be found it replicates git server otherwise it just updates pushed value
Diffstat (limited to 'src/sub_commands/init.rs')
-rw-r--r--src/sub_commands/init.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sub_commands/init.rs b/src/sub_commands/init.rs
index ba188c9..bb437a5 100644
--- a/src/sub_commands/init.rs
+++ b/src/sub_commands/init.rs
@@ -89,6 +89,7 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> {
89 &cli_args.password, 89 &cli_args.password,
90 Some(&client), 90 Some(&client),
91 false, 91 false,
92 false,
92 ) 93 )
93 .await?; 94 .await?;
94 95
@@ -330,6 +331,7 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> {
330 user_ref.relays.write(), 331 user_ref.relays.write(),
331 relays.clone(), 332 relays.clone(),
332 !cli_args.disable_cli_spinners, 333 !cli_args.disable_cli_spinners,
334 false,
333 ) 335 )
334 .await?; 336 .await?;
335 337