summaryrefslogtreecommitdiff
path: root/test-sha1.c
diff options
context:
space:
mode:
authorLibravatar Antoine Pelisse <apelisse@gmail.com>2013-02-23 19:10:41 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-23 23:49:33 -0800
commitb04d930bbcd1dc7cbb4524063ec339a8feb3cc12 (patch)
treec0c2393cd66e005d3aa7cd8fdf2612ebebf0045c /test-sha1.c
parentGit 1.8.1.4 (diff)
downloadtgif-b04d930bbcd1dc7cbb4524063ec339a8feb3cc12.tar.xz
update-index: allow "-h" to also display options
Even though "git update-index" was updated to use parse-options infrastracture some time ago to make it possible to show list of options with usage_with_options(), "git update-index -h" only shows the usage. Detect this case and call usage_with_options() to show the list of options as well. Signed-off-by: Antoine Pelisse <apelisse@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-sha1.c')
0 files changed, 0 insertions, 0 deletions