]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vcs: gitconfig: sort tags as version numbers
authorSimon Ruderich <simon@ruderich.org>
Sun, 13 Aug 2023 07:50:09 +0000 (09:50 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 13 Aug 2023 07:50:09 +0000 (09:50 +0200)
vcs/gitconfig.in

index e7d0893515a1c0b8f08967bdb8827994f15c988c..7476a829397b259d6a28f8c15674c63ec66b1a01 100644 (file)
        # Keep the default branch name
        defaultBranch = master
 
+[tag]
+       # Sort tags as version numbers
+       sort = version:refname
+
 
 # NON-GIT SETTINGS