From 8ec3320df793b58d20f632038b0b2a37f37103e3 Mon Sep 17 00:00:00 2001 From: Fabian Henneke Date: Wed, 26 Aug 2020 16:21:27 +0200 Subject: Get rid of explicit Git server protocol (#1054) * Double check Git server protocol Ensure that the Git server protocol is not at odds with the URL scheme. Also move the Protocol switches below the URL to make it clear that the URL should be entered first. * Remove protocol selection from server config The protocol is now extracted from the URL, and the authentication mode selection is validated by GitSettings Signed-off-by: Harsh Shandilya * Don't use pref values for auth modes Signed-off-by: Harsh Shandilya * Apply suggestions from code review Remove now unused protocol mismatch result type Co-authored-by: Fabian Henneke * Simplify migration logic and fix tests Signed-off-by: Harsh Shandilya * Revert "Simplify migration logic and fix tests" This reverts commit 1c4c4ba5fbc212843cb6b74dd29ac858eaea7582. * Detect URLs with null scheme as ssh * Add changelog entry Signed-off-by: Harsh Shandilya Co-authored-by: Harsh Shandilya Co-authored-by: Harsh Shandilya --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 52236278..c375b7ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file. ### Changed - A descriptive error message is shown if no username is specified in the Git server settings +- Remove explicit protocol choice from Git server settings, it is now inferred from your URL ### Fixed -- cgit v1.2.3