summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorLibravatar Matthew DeVore <matvore@google.com>2018-10-05 14:54:07 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-07 08:51:18 +0900
commit8d6ba49563600d8e65c7f56fb0f29e23a571a75f (patch)
tree16c19d5d3fc8c85a1c136ae2b10249ccd4cbe372 /diff.h
parentt9109: don't swallow Git errors upstream of pipes (diff)
downloadtgif-8d6ba49563600d8e65c7f56fb0f29e23a571a75f.tar.xz
tests: order arguments to git-rev-list properly
It is a common mistake to put positional arguments before flags when invoking git-rev-list. Order the positional arguments last. This patch skips git-rev-list invocations which include the --not flag, since the ordering of flags and positional arguments affects the behavior. This patch also skips invocations of git-rev-list that occur in command substitution in which the exit code is discarded, since fixing those properly will require a more involved cleanup. Signed-off-by: Matthew DeVore <matvore@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
0 files changed, 0 insertions, 0 deletions