git-tag: Add --contains option
commit32c35cfb1e9c8523b9d60e5095f1c49ebaef0279
authorJake Goulding <goulding@vivisimo.com>
Mon, 26 Jan 2009 14:13:25 +0000 (26 09:13 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Jan 2009 19:33:51 +0000 (28 11:33 -0800)
treeb5b75d113517361b4ddcc517a6ea9bb3efcd6d46
parent7fcdb36e29f9a5e779bc9e44cd69f8f69fac9426
git-tag: Add --contains option

This functions similarly to "git branch --contains"; it will show all
tags that contain the specified commit, by sharing the same logic.

The patch also adds documentation and tests for the new option.

Signed-off-by: Jake Goulding <goulding@vivisimo.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-tag.txt
builtin-tag.c
t/t7004-tag.sh