git-backporting/src/service/git
Ratchanan Srirattanamet 9bcd6e6b55
fix: --auth when --git-user contains space (#95)
Since --git-user is a user-facing name, it's common to include a space
in it. As such, it's not suitable to use as a username in a Git remote
URL.

GitLab documented that it doesn't (yet?) check for username [1], and
from my testing GitHub doesn't seem to care either. So just use an
arbitrary name as a username.

[1] https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
2024-02-23 10:30:18 +01:00
..
github feat(gh-85): take git tokens from environment (#88) 2023-12-10 22:05:53 +01:00
gitlab fix: --no-squash on single-commit GitLab MR (#93) 2024-02-20 14:24:08 +01:00
git-cli.ts fix: --auth when --git-user contains space (#95) 2024-02-23 10:30:18 +01:00
git-client-factory.ts feat(gh-85): take git tokens from environment (#88) 2023-12-10 22:05:53 +01:00
git-client.ts feat(gh-85): take git tokens from environment (#88) 2023-12-10 22:05:53 +01:00
git-mapper.ts feat(issue-54): backport pr commits without squash (#55) 2023-07-11 11:22:01 +02:00
git-util.ts feat: integrate with codeberg (#80) 2023-08-18 13:15:38 +02:00
git.types.ts feat: integrate with codeberg (#80) 2023-08-18 13:15:38 +02:00