diff options
author | Stefan Beller <stefanbeller@gmail.com> | 2014-08-10 23:33:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-08-12 11:00:33 -0700 |
commit | 81c3ce3cdce8dffb913243f5b2cc09d9fb966e6c (patch) | |
tree | 974a155e73dec708825519c9f21a44d678bc86ed /builtin/add.c | |
parent | Git 2.0.4 (diff) | |
download | tgif-81c3ce3cdce8dffb913243f5b2cc09d9fb966e6c.tar.xz |
prepare_revision_walk(): check for return value in all places
Even the documentation tells us:
You should check if it returns any error (non-zero return
code) and if it does not, you can start using get_revision()
to do the iteration.
In preparation for this commit, I grepped all occurrences of
prepare_revision_walk and added error messages, when there were none.
Signed-off-by: Stefan Beller <stefanbeller@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/add.c')
0 files changed, 0 insertions, 0 deletions