git-describe manual page's one sentence summary is misleading
- From
- Albert Netymk <albertnetymk@gmail.com>
- Date
- Jun 16, 2015, 10:45 UTC
- Message-ID
- <CAKEGsXTY_rstoK4Gcga6XqkqKCeOkXdL-TjAWUu0Cqi6mWW7bA@mail.gmail.com>
According to the man of git-describe, http://git-scm.com/docs/git-describe
git-describe - Show the most recent tag that is reachable from a commit
It means that this command shows the name of the most recent tag.
However, actually, it construct a new tag name if the current commit is not tagged.
I think, "git-describe - Describe a commit using the most recent tag reachable from it" is a better summary.
-- Best Regards Yours faithfully Albert Netymk