commit 8829c9dc52c98cea8e96e92360f833527210dbea from: Bradley Taunt date: Sun Nov 10 18:21:31 2024 UTC Set static clone URL for better UX (second attempt) commit - 67b757c185c2baf7f28121424c2b0102390be793 commit + 8829c9dc52c98cea8e96e92360f833527210dbea blob - 543cf9592abfdbd7cbb62cebc66e76c5d277a6f9 blob + cd2e745cce476310d70af1e172c166da6799751d --- stagit.c +++ stagit.c @@ -526,13 +526,9 @@ writeheader(FILE *fp, const char *title) fputs("", fp); xmlencode(fp, description, strlen(description)); fputs("", fp); - if (cloneurl[0]) { - fputs("git clone ", fp); - xmlencode(fp, cloneurl, strlen(cloneurl)); - fputs("", fp); - } + fputs("git clone git://", fp); + xmlencode(fp, strippedname, strlen(strippedname)); + fputs("", fp); fputs("\n", fp); fprintf(fp, "Log | ", relpath); fprintf(fp, "Files | ", relpath);