From: Marc Foley Date: Tue, 4 Mar 2025 14:01:24 +0000 (+0000) Subject: add ability to modify a checkedout commit X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=549f51e1eb230b2430bf6bd1d9ccbaae70a83f07;p=thirdparty%2Fgoogle%2Ffonts.git add ability to modify a checkedout commit --- diff --git a/.ci/tags.html b/.ci/tags.html index 91dba21d6..569847170 100644 --- a/.ci/tags.html +++ b/.ci/tags.html @@ -580,7 +580,11 @@ function axesCombos(axes) { let csv = this.tagsToCSV(); alert("Tag data copied to clipboard. A github pull request page will open in a new tab. Please remove the old data and paste in the new."); navigator.clipboard.writeText(csv); - window.open("https://github.com/google/fonts/edit/main/tags/all/families.csv") + if (this.commit !== "refs/heads/main") { + window.open(`https://github.com/google/fonts/edit/${this.commit}/tags/all/families.csv`); + } else { + window.open("https://github.com/google/fonts/edit/main/tags/all/families.csv") + } }, loadCSV() { if (this.history.length > 0) {