From: Joey Hess Date: Mon, 22 Oct 2007 18:57:06 +0000 (-0400) Subject: use git tag -l , needed by older gits X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/592a084c6487b9d5a4992c1aad3817ceb9fa0465?hp=--cc use git tag -l , needed by older gits --- 592a084c6487b9d5a4992c1aad3817ceb9fa0465 diff --git a/mrconfig.complex b/mrconfig.complex index 3bc577c..2d566c3 100644 --- a/mrconfig.complex +++ b/mrconfig.complex @@ -12,7 +12,7 @@ push = if [ -d "$MR_REPO"/.git ]; then git push; fi # And how to list tags for git and svn. tag = if [ -d "$MR_REPO"/.git ]; then - git tag + git tag -l elsif [ -d "$MR_REPO"/.svn ]; then url=$(LANG=C svn info . | grep -i ^URL: | cut -d ' ' -f 2) svn ls "$(echo '$url' | sed -e 's/trunk/tags/')"