revision.c: the "log" family, except for "show", takes committish
authorJunio C Hamano <gitster@pobox.com>
Mon, 2 Jul 2012 19:43:05 +0000 (12:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2012 23:42:22 +0000 (16:42 -0700)
commitd5f6b1d756a29255efedee3cb6e8526aedcfeb00
treeaf73d5cab8e0aa357f9ace153857d95a684bdf64
parent8e676e8ba567eccee1510b90ec2e0364dcc2f3b4
revision.c: the "log" family, except for "show", takes committish

Add a field to setup_revision_opt structure and allow these callers
to tell the setup_revisions command parsing machinery that short SHA1
it encounters are meant to name committish.

This step does not go all the way to connect the setup_revisions()
to sha1_name.c yet.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c
revision.c
revision.h
t/t1512-rev-parse-disambiguation.sh