summaryrefslogtreecommitdiff
path: root/t/helper/test-string-list.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-08-02 18:26:06 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-02 15:45:21 -0700
commit0159ba3226f75fbd6d3dc0e92c325cb11f2f0699 (patch)
tree0aade2ac8ee74994b1c4b3087d0eadda5fc9f7cd /t/helper/test-string-list.c
parentrevision: add rev_input_given flag (diff)
downloadtgif-0159ba3226f75fbd6d3dc0e92c325cb11f2f0699.tar.xz
rev-list: don't show usage when we see empty ref patterns
If the user gives us no starting point for a traversal, we want to complain with our normal usage message. But if they tried to do so with "--all" or "--glob", but that happened not to match any refs, the usage message isn't helpful. We should just give them the empty output they asked for instead. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-string-list.c')
0 files changed, 0 insertions, 0 deletions