summaryrefslogtreecommitdiff
path: root/builtin-update-ref.c
diff options
context:
space:
mode:
authorLibravatar Pierre Habouzit <madcoder@debian.org>2009-06-09 10:23:44 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-06-10 08:41:03 -0700
commitcb9d398c3506a6354a1c63d265a4228fcec28fda (patch)
tree155555594e0ae8f770a0ecb966529cac5add097a /builtin-update-ref.c
parentgit-repack.txt: Clarify implications of -a for dumb protocols (diff)
downloadtgif-cb9d398c3506a6354a1c63d265a4228fcec28fda.tar.xz
parse-options: add parse_options_check to validate option specs.
It only searches for now for the dreaded LASTARG_DEFAULT | OPTARG combination, but can be extended to check for any other forbidden combination. Options are checked each time we call parse_options_start. Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-update-ref.c')
0 files changed, 0 insertions, 0 deletions