]> git.ipfire.org Git - thirdparty/git.git/commit - revision.h
revision.c: allow handle_revision_arg() to take other flags
authorJunio C Hamano <gitster@pobox.com>
Mon, 2 Jul 2012 19:33:52 +0000 (12:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2012 23:42:22 +0000 (16:42 -0700)
commit8e676e8ba567eccee1510b90ec2e0364dcc2f3b4
tree341634278902944c38c12eb1a39422f3f505f50c
parentcd74e4733db3e2353077bdc7021caa70bed2a483
revision.c: allow handle_revision_arg() to take other flags

The existing "cant_be_filename" that tells the function that the
caller knows the arg is not a path (hence it does not have to be
checked for absense of the file whose name matches it) is made into
a bit in the flag word.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c
revision.c
revision.h