summaryrefslogtreecommitdiff
path: root/Documentation/git-diff.txt
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-03-25 01:30:17 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-25 12:49:33 -0700
commitc6587bddc4e8a3ee2eef98a0a5cf15542a9cc849 (patch)
treeda1d8467e0c8a0a20e838b7e067ba1be7d896640 /Documentation/git-diff.txt
parentt: fix some trivial cases of ignored exit codes in loops (diff)
downloadtgif-c6587bddc4e8a3ee2eef98a0a5cf15542a9cc849.tar.xz
t: simplify loop exit-code status variables
Since shell loops may drop the exit code of failed commands inside the loop, some tests try to keep track of the status by setting a variable. This can end up cumbersome and hard to read; it is much simpler to just exit directly from the loop using "return 1" (since each case is either in a helper function or inside a test snippet). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-diff.txt')
0 files changed, 0 insertions, 0 deletions