git describe fails without tags
- From
Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
- Date
- Jan 25, 2006, 07:47 UTC
- Message-ID
- <20060125074725.GA2768@informatik.uni-freiburg.de>
Hello,
using git describe on Linus' sparse repo results in:
uzeisberger@io:~/gsrc/sparse$ git describe fatal: cannot describe '62ac6c16058aba8693fd5827379debc5f57b60f5'
The reason is, that there exist no tags at all, so right, there is no "most recent tag that is reachable from HEAD".
I wonder if it would be sane to assume an implicit tag for the empty repository, s.t. git describe results in
<empty>-62ac6c16
(whatever name is choosen for <empty>).
Any opinions?
Best regards Uwe
-- Uwe Zeisberger http://www.google.com/search?q=1+degree+celsius+in+kelvin