From 7adece76ae1a6452248f2d2d26d1d5f21b0f38f6 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 13 Aug 2023 09:50:09 +0200 Subject: [PATCH] vcs: gitconfig: sort tags as version numbers --- vcs/gitconfig.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcs/gitconfig.in b/vcs/gitconfig.in index e7d0893..7476a82 100644 --- a/vcs/gitconfig.in +++ b/vcs/gitconfig.in @@ -250,6 +250,10 @@ # Keep the default branch name defaultBranch = master +[tag] + # Sort tags as version numbers + sort = version:refname + # NON-GIT SETTINGS -- 2.45.2