{"thread":{"id":"29649","subject":"[PATCH] t1305: fix include by absolute path test on Windows","startedAt":"2012-02-17T08:31:32Z","lastAt":"2012-02-17T08:31:32Z","messageCount":1,"participants":["Johannes Sixt"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"184867","messageId":"4F3E1064.5080603@viscovery.net","threadId":"29649","inReplyTo":null,"subject":"[PATCH] t1305: fix include by absolute path test on Windows","fromName":"Johannes Sixt","fromEmail":"j.sixt@viscovery.net","sentAt":"2012-02-17T08:31:32Z","receivedAt":"2012-02-17T08:31:32Z","isPatch":true,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"From: Johannes Sixt <j6t@kdbg.org>\n\nGit on Windows does not understand bash's /c/dir/... POSIXy paths, so that\nthe test fails. Ensure that the config file mentions the Windows style\nabsolute path to the file to be included.\n\nSigned-off-by: Johannes Sixt <j6t@kdbg.org>\n---\n Feel free to squash this into the patch that adds the test.\n\n t/t1305-config-include.sh |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/t/t1305-config-include.sh b/t/t1305-config-include.sh\nindex f3e03a0..4b1cbaa 100755\n--- a/t/t1305-config-include.sh\n+++ b/t/t1305-config-include.sh\n@@ -5,7 +5,7 @@ test_description='test config file include directives'\n \n test_expect_success 'include file by absolute path' '\n \techo \"[test]one = 1\" >one &&\n-\techo \"[include]path = \\\"$PWD/one\\\"\" >.gitconfig &&\n+\techo \"[include]path = \\\"$(pwd)/one\\\"\" >.gitconfig &&\n \techo 1 >expect &&\n \tgit config test.one >actual &&\n \ttest_cmp expect actual\n-- \n1.7.9.1264.g9b7e2\n"}]}