aboutsummaryrefslogtreecommitdiff
path: root/0001-fix-name_from_url-removes-dot-git-ending.patch
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-06-28 03:15:28 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-06-28 03:15:28 +0000
commitb27634a7c7626b3536428d313e192f96a83a1538 (patch)
treebab8277ca3fedaa02f613512b359885b552500d7 /0001-fix-name_from_url-removes-dot-git-ending.patch
parent1d5aba7913bc0b17971c1e3b88840e251342536f (diff)
removes .git from the name of a package
Diffstat (limited to '0001-fix-name_from_url-removes-dot-git-ending.patch')
-rw-r--r--0001-fix-name_from_url-removes-dot-git-ending.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/0001-fix-name_from_url-removes-dot-git-ending.patch b/0001-fix-name_from_url-removes-dot-git-ending.patch
deleted file mode 100644
index 2bd68a5..0000000
--- a/0001-fix-name_from_url-removes-dot-git-ending.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/src/name_from_url.c b/src/name_from_url.c
-index 67995fe..6b26560 100644
---- a/src/name_from_url.c
-+++ b/src/name_from_url.c
-@@ -32,6 +32,9 @@ char* name_from_url(const char *url) {
- while (end > after_git && *(end-1) == '/') {
- end--;
- }
-+ if (strncmp(end-4, ".git", 4) == 0) {
-+ end -= 4;
-+ }
- const char *last_slash = end;
- while (last_slash > after_git && *(last_slash-1) != '/') {
- last_slash--;