diff options
| author | Frederick Muriuki Muriithi | 2026-02-18 10:54:22 -0600 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-02-18 10:54:22 -0600 |
| commit | c2e56e09f62be517ad2963f08716ac6abdd9120f (patch) | |
| tree | efadf47878fbd9851a9adc1657777a187dd7aaf4 /web | |
| parent | c3eb85d588b5df2a4b8fba8a2c07ebfa8f971421 (diff) | |
| download | gn-guile-c2e56e09f62be517ad2963f08716ac6abdd9120f.tar.gz | |
Rename variable for clarity.
The 'CGIT_REPO_PATH' envvar and corresponding global `+cgit-repo-path+` configuration variable were both pointing to the bare repo that's upstream somewhere. Using the term "bare" rather than "cgit" is more descriptive of what the variable is concerned with, rather than the term "cgit" which is dependent on a specific forge/forge-type.
Diffstat (limited to 'web')
| -rw-r--r-- | web/webserver.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/webserver.scm b/web/webserver.scm index 6a0bd37..af27249 100644 --- a/web/webserver.scm +++ b/web/webserver.scm @@ -38,7 +38,7 @@ (define +current-repo-path+ (getenv "CURRENT_REPO_PATH")) -(define +cgit-repo-path+ +(define +bare-repo-path+ (getenv "CGIT_REPO_PATH")) (define +info+ @@ -254,7 +254,7 @@ otherwise search for set/group data" username email prev-commit))) - (git-invoke +current-repo-path+ "push" +cgit-repo-path+) + (git-invoke +current-repo-path+ "push" +bare-repo-path+) message)))))) (lambda (key . args) (let ((msg (car args))) |
