aboutsummaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-04-02 13:10:31 +0530
committerJunio C Hamano <gitster@pobox.com>2013-04-02 10:41:42 -0700
commit2e433b7895798d2936d9708da9f99bd190cd39fc (patch)
tree389f0c179ea6005cf23798c630093cf002ec1e7c /remote.h
parent2ead7a674d7f1c0b2b47bdd567755a741f86c255 (diff)
downloadgit-2e433b7895798d2936d9708da9f99bd190cd39fc.tar.gz
git-2e433b7895798d2936d9708da9f99bd190cd39fc.tar.xz
t5516 (fetch-push): drop implicit arguments from helper functions
Many of the tests in t5516 look like: mk_empty && git push testrepo ... && check_push_result $commit heads/master It's reasonably easy to see what is being tested, with the exception that "testrepo" is a magic global name (it is implicitly used in the helpers, but we have to name it explicitly when calling git directly). Let's make it explicit when call the helpers, too. This is slightly more typing, but makes the test snippets read more naturally. It also makes it easy for future tests to use an alternate or multiple repositories, without a proliferation of helper functions. [rr: fixed sloppy quoting] Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.h')
0 files changed, 0 insertions, 0 deletions