t1404: remove "prefix" argument to test_update_rejected
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 10 Jun 2016 06:50:53 +0000 (08:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Jun 2016 18:49:00 +0000 (11:49 -0700)
commit0e4b63b5a8b8d369720f0671040113e347221042
tree6a9f093a5d144983cf24153398a3f968102e9513
parentbf0c6603ff809b035bd3b2049597e2273e9d86ed
t1404: remove "prefix" argument to test_update_rejected

The tests already set a variable called prefix and passed its value as
the first argument to this function. The old argument handling was
overwriting the global variable with its same value rather than creating
a local variable.

So change test_update_rejected to refer to the global variable rather
than taking the prefix as an argument.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1404-update-ref-errors.sh