diff options
author | Matthew DeVore <matvore@google.com> | 2018-10-05 14:54:07 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-07 08:51:18 +0900 |
commit | 8d6ba49563600d8e65c7f56fb0f29e23a571a75f (patch) | |
tree | 16c19d5d3fc8c85a1c136ae2b10249ccd4cbe372 /t/t5701-git-serve.sh | |
parent | b00b6ace5c92ef4c2893f7b7cc597a0297812a52 (diff) | |
download | git-8d6ba49563600d8e65c7f56fb0f29e23a571a75f.tar.gz |
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 't/t5701-git-serve.sh')
0 files changed, 0 insertions, 0 deletions