ref-iteration doc: add_submodule_odb() returns 0 for success
commit2951add0e908f04fd63b48b8fcc138ae4dd66116
authorNick Townsend <nick.townsend@mac.com>
Mon, 25 Nov 2013 23:31:09 +0000 (25 15:31 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Dec 2013 18:40:40 +0000 (3 10:40 -0800)
treed805f3d71cf309ce009ab366e5b4361a9daf2dc4
parentbe38bee862d628e29043b3f680580ceb24a6ba1e
ref-iteration doc: add_submodule_odb() returns 0 for success

The usage sample of add_submodule_odb() function in the Submodules
section expects non-zero return value for success, but the function
actually reports success with zero.

Helped-by: René Scharfe <l.s.r@web.de>
Reviewed-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Nick Townsend <nick.townsend@mac.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-ref-iteration.txt