diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-04-20 15:50:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-20 15:50:37 -0700 |
commit | c5da24a73a96a9908ae715f6430e65294115646a (patch) | |
tree | 4db197f483c8fd331cc149869da44d02c9ecacb2 /t/t5541-http-push.sh | |
parent | Merge branch 'bw/submodule-sed-solaris' (diff) | |
parent | Fix httpd tests that broke when non-ff push advice changed (diff) | |
download | tgif-c5da24a73a96a9908ae715f6430e65294115646a.tar.xz |
Merge branch 'ct/advise-push-default'
Break down the cases in which "git push" fails due to non-ff into
three categories, and give separate advise messages for each case.
By Christopher Tiwald (2) and Jeff King (1)
* ct/advise-push-default:
Fix httpd tests that broke when non-ff push advice changed
clean up struct ref's nonfastforward field
push: Provide situational hints for non-fast-forward errors
Diffstat (limited to 't/t5541-http-push.sh')
-rwxr-xr-x | t/t5541-http-push.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5541-http-push.sh b/t/t5541-http-push.sh index d7964c7eb5..5b170be2c0 100755 --- a/t/t5541-http-push.sh +++ b/t/t5541-http-push.sh @@ -168,7 +168,7 @@ test_expect_success 'push fails for non-fast-forward refs unmatched by remote he ' test_expect_success 'push fails for non-fast-forward refs unmatched by remote helper: our output' ' - test_i18ngrep "To prevent you from losing history, non-fast-forward updates were rejected" \ + test_i18ngrep "Updates were rejected because" \ output ' |