]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/describe.c
describe: Add --first-parent option
authorMike Crowe <mac@mcrowe.com>
Fri, 17 May 2013 20:56:18 +0000 (21:56 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 May 2013 18:09:03 +0000 (11:09 -0700)
commite00dd1e9485c50f202cc97dfae19d510e108b565
treee0ff1428e746e363c93ee9a5303e347c7aced797
parentde3a5c6da194928868b5eee4a9c4d538b4194727
describe: Add --first-parent option

Only consider the first parent commit when walking the commit history. This
is useful if you only wish to match tags on your branch after a merge.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-describe.txt
builtin/describe.c
t/t6120-describe.sh