summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e674c17)
raw | patch | inline | side by side (parent: e674c17)
author | Tay Ray Chuan <rctay89@gmail.com> | |
Sat, 16 Oct 2010 18:37:01 +0000 (02:37 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 18 Oct 2010 23:20:19 +0000 (16:20 -0700) |
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5523-push-upstream.sh | patch | blob | history |
index 00da70763bc34fe05dcba90a48799e32880571ce..5a18533ad7965b82a656ba779bfc8098a13339c4 100755 (executable)
--- a/t/t5523-push-upstream.sh
+++ b/t/t5523-push-upstream.sh
test_description='push with --set-upstream'
. ./test-lib.sh
+ensure_fresh_upstream() {
+ rm -rf parent && git init --bare parent
+}
+
test_expect_success 'setup bare parent' '
- git init --bare parent &&
+ ensure_fresh_upstream &&
git remote add upstream parent
'