]> git.ipfire.org Git - thirdparty/git.git/commit
t5520: factor out common "successful autostash" code
authorMehul Jain <mehul.jain2029@gmail.com>
Sat, 2 Apr 2016 17:58:29 +0000 (23:28 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Apr 2016 18:13:54 +0000 (11:13 -0700)
commit5c82bcddf4f436f137bf0608321c92b8328a270a
tree42477e8ff01c435d68e27cf3c8265d42a9981348
parent6ddc97c7dc11076be30846c13666e5bc1844629a
t5520: factor out common "successful autostash" code

Four tests contains repetitive lines of code.

Factor out common code into test_pull_autostash() and then call it in
these tests.

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