* Ingo Molnar <mi...@kernel.org> wrote: > Does -l work? > > Alternatively, please replace: > > git tag --list "v[0-9].[0-9]*" | tail -1 > > with: > > git tag | tail -1 | grep -E "v[0-9].[0-9]*" > > which is just as fast.
make that: git tag 2>/dev/null | tail -1 | grep -E "v[0-9].[0-9]*" this will work silently even if Git is not installed. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/