diff options
author | Jeff King <peff@peff.net> | 2020-04-18 20:47:30 -0700 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2020-04-19 16:10:57 -0700 |
commit | 73aafe9bc27585554181c58871a25e6d0f58a3dc (patch) | |
tree | 00a5987bea9b6a1f2e6bac03235dc34016d58517 /graph.h | |
parent | t0300: make "quit" helper more realistic (diff) | |
download | tgif-73aafe9bc27585554181c58871a25e6d0f58a3dc.tar.xz |
t0300: use more realistic inputs
Many of the tests in t0300 give partial inputs to git-credential,
omitting a protocol or hostname. We're checking only high-level things
like whether and how helpers are invoked at all, and we don't care about
specific hosts. However, in preparation for tightening up the rules
about when we're willing to run a helper, let's start using input that's
a bit more realistic: pretend as if http://example.com is being
examined.
This shouldn't change the point of any of the tests, but do note we have
to adjust the expected output to accommodate this (filling a credential
will repeat back the protocol/host fields to stdout, and the helper
debug messages and askpass prompt will change on stderr).
Signed-off-by: Jeff King <peff@peff.net>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'graph.h')
0 files changed, 0 insertions, 0 deletions