OSDN Git Service

t5520: reduce commom lines of code
authorMehul Jain <mehul.jain2029@gmail.com>
Sat, 2 Apr 2016 17:58:31 +0000 (23:28 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Apr 2016 18:15:01 +0000 (11:15 -0700)
commit16622979f8eaf864da5cf932d3d60de7c7d40d7d
tree482d09040a320e8571b3b4fb76907bcbbd1a3d73
parent44a59fff4598f3d2f68b5bc83c75e8483637a33d
t5520: reduce commom lines of code

These two tests are almost similar and thus can be folded in a for-loop.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Mehul Jain <mehul.jain2029@gmail.com>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5520-pull.sh