summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ea0edad)
raw | patch | inline | side by side (parent: ea0edad)
author | Jonathan Nieder <jrnieder@gmail.com> | |
Sat, 24 Apr 2010 12:29:52 +0000 (07:29 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 8 May 2010 04:33:19 +0000 (21:33 -0700) |
10eb0007 (request-pull: avoid mentioning that the start point is a
single commit, 2010-01-29), changed the pull request format, so the
test needs some changes to still pass:
- tolerate a missing blank line between “in the git repository at:”
and the name of repository and branch
- recognize subject and date in the new request format
- update the expected request template to match the new format
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
single commit, 2010-01-29), changed the pull request format, so the
test needs some changes to still pass:
- tolerate a missing blank line between “in the git repository at:”
and the name of repository and branch
- recognize subject and date in the new request format
- update the expected request template to match the new format
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5150-request-pull.sh | patch | blob | history |
index 8e0425b7ac9f5949c706dedf47b25bdf2ee26fdd..169d3ea376f68a0924920b52748ba64356084eab 100644 (file)
--- a/t/t5150-request-pull.sh
+++ b/t/t5150-request-pull.sh
#!/bin/sed -nf
/ in the git repository at:$/! d
n
- /^$/! q
- n
+ /^$/ n
s/^[ ]*\(.*\) \([^ ]*\)/please pull\
\1\
\2/p
#!/bin/sed -nf
s/$_x40/OBJECT_NAME/g
s/A U Thor/AUTHOR/g
+ s/[-0-9]\{10\} [:0-9]\{8\} [-+][0-9]\{4\}/DATE/g
s/ [^ ].*/ SUBJECT/g
+ s/ [^ ].* (DATE)/ SUBJECT (DATE)/g
s/$downstream_url_for_sed/URL/g
s/for-upstream/BRANCH/g
s/mnemonic.txt/FILENAME/g
git init --bare downstream.git &&
cat <<-\EOT >expect &&
The following changes since commit OBJECT_NAME:
- AUTHOR (1):
- SUBJECT
- are available in the git repository at:
+ SUBJECT (DATE)
+ are available in the git repository at:
URL BRANCH
SHORTLOG