all repos — nixfiles @ 8420b4cdcafb33d21d0f75902f5bd407f08ec740

System and user configuration, managed by nix and home-manager

Git: fix lasttag showing non-version tags

Alan Pearce
commit

8420b4cdcafb33d21d0f75902f5bd407f08ec740

parent

f6d6c00b0ce2318f2c11fd0aff156ef7e0199217

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M git/.config/git/configgit/.config/git/config
@@ -17,7 +17,7 @@ ci = commit
br = branch co = checkout ready = rebase -i @{u} - lasttag = "!sh -c 'git tag --sort=version:refname | tail -n1'" + lasttag = "!sh -c 'git tag --sort=version:refname | grep \"^v\\?[0-9]\" | tail -n1'" pending = "!sh -c 'git log --oneline --merges --grep=\"Merge pull request\" ...$(git lasttag)'" lg = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' ignored = ls-files --others -i --exclude-standard