diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-06-13 12:17:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-06-13 12:18:29 -0700 |
commit | 877449c136539cf8b9b4ed9cfe33a796b7b93f93 (patch) | |
tree | 3f84c20992854cb84aa6a927b1419180463133d8 /progress.c | |
parent | submodule update: continue when a checkout fails (diff) | |
download | tgif-877449c136539cf8b9b4ed9cfe33a796b7b93f93.tar.xz |
git-submodule.sh: clarify the "should we die now" logic
Earlier the decision to stop or continue was made on the $action variable
that was set by inspecting $update_module variable. The former is a
redundant variable and will be removed in another topic.
Decide upon inspecting $update_module if a failure should cascade up to
cause us immediately stop, and use a variable that means just that, to
clarify the logic.
Incidentally this also makes the merge with the other topic slightly
easier and cleaner to understand.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'progress.c')
0 files changed, 0 insertions, 0 deletions