Re: [PATCH 1/2] git-describe: introduce --first-parent

2012-09-11 Thread Junio C Hamano
Michael J Gruber writes: > so that git-describe searches first-parent history only when looking for Please make sure your first paragraph of the log message start with a full sentence, not an incomplete tail part of a sentence as if the title of the commit were repeated in front of it. > a name

[PATCH 1/2] git-describe: introduce --first-parent

2012-09-11 Thread Michael J Gruber
so that git-describe searches first-parent history only when looking for a named commit. This is useful for describing commits by tags on their "main" (first-parent) branch; for example, on git.git: git describe 22ffc39 v1.7.2.3-223-g22ffc39 git describe --first-parent 22ffc39 v1.7.2-104-g22ffc39