Skip to content

A peer-to-peer stack for code collaboration

Avoid confusion around git config project settings

Thomas Scholtes676383a0ef07
diff --git a/bin/rad-project b/bin/rad-project
index 1aa26e9..9148c81 100755
--- a/bin/rad-project
+++ b/bin/rad-project
@@ -60,7 +60,7 @@
(put-str! name)
(process! "git" ["clone" origin name] "")
(cd! name)
- (set-git-config! "rad.project.url" project-url)))
+ (set-git-config! "radicle.project-id" project-url)))
(def new-or-forked-project!
"Create a new or forked project. If `maybe-upstream` is :nothing, creates a
@@ -90,7 +90,7 @@
(add-rsm! project-rsm { :id repo-url :type :rad-repo })
(add-rsm! project-rsm { :id issues-url :type :rad-issues })
(add-rsm! project-rsm { :id diff-url :type :rad-diff })
- (set-git-config! "rad.project.url" project-url)
+ (set-git-config! "radicle.project-id" project-url)
(put-str! "=> project created!")))
diff --git a/rad/monadic/project.rad b/rad/monadic/project.rad
index d2b3a05..bdcee52 100644
--- a/rad/monadic/project.rad
+++ b/rad/monadic/project.rad
@@ -8,7 +8,7 @@
(def get-project-url!
(fn []
- (def proj (get-git-config! "rad.project.url"))
+ (def proj (get-git-config! "radicle.project-id"))
(if (eq? proj "")
(do
(put-str! "Not in a radicle project")