{"thread":{"id":"59268","subject":"[PATCH] t2015-checkout-unborn.sh: changes the style for cd","startedAt":"2023-02-18T19:21:44Z","lastAt":"2023-02-21T20:05:06Z","messageCount":3,"participants":["ashutosh.pandeyhlr007@gmail.com","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"472309","messageId":"20230218192128.7963-1-ashutosh.pandeyhlr007@gmail.com","threadId":"59268","inReplyTo":null,"subject":"[PATCH] t2015-checkout-unborn.sh: changes the style for cd","fromName":"","fromEmail":"ashutosh.pandeyhlr007@gmail.com","sentAt":"2023-02-18T19:21:28Z","receivedAt":"2023-02-18T19:21:44Z","isPatch":true,"sender":{"key":"ashutosh.pandeyhlr007@gmail.com","avatar":"https://avatars.githubusercontent.com/u/57610394?v=4"},"body":"From: Ashutosh Pandey <ashutosh.pandeyhlr007@gmail.com>\n\nthe `cd` followed the old style which wasn't consistent with the rest of\nthe test suite, so this commit makes it consistent with the current\nstyle of the test suite for `cd` in  subshell.\n\nSigned-off-by: Ashutosh Pandey <ashutosh.pandeyhlr007@gmail.com>\n---\nthis is my first time contributing to git I want to participate in \nthis year's GSoC and I'm looking for some microprojects the ones\nthat are listed on the website are mostly done so if anyone can \nsuggest some beginners level microprojects that would be great.\n\n t/t2015-checkout-unborn.sh | 11 ++++++-----\n 1 file changed, 6 insertions(+), 5 deletions(-)\n\ndiff --git a/t/t2015-checkout-unborn.sh b/t/t2015-checkout-unborn.sh\nindex 9425aae639..fdc4149f15 100755\n--- a/t/t2015-checkout-unborn.sh\n+++ b/t/t2015-checkout-unborn.sh\n@@ -9,11 +9,12 @@ TEST_PASSES_SANITIZE_LEAK=true\n \n test_expect_success 'setup' '\n \tmkdir parent &&\n-\t(cd parent &&\n-\t git init &&\n-\t echo content >file &&\n-\t git add file &&\n-\t git commit -m base\n+\t(\n+\t\tcd parent &&\n+\t \tgit init &&\n+\t \techo content >file &&\n+\t \tgit add file &&\n+\t \tgit commit -m base\n \t) &&\n \tgit fetch parent main:origin\n '\n\nbase-commit: d9d677b2d8cc5f70499db04e633ba7a400f64cbf\n-- \n2.39.2\n\n"},{"id":"472396","messageId":"xmqqpma2eqjs.fsf@gitster.g","threadId":"59268","inReplyTo":"20230218192128.7963-1-ashutosh.pandeyhlr007@gmail.com","subject":"Re: [PATCH] t2015-checkout-unborn.sh: changes the style for cd","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2023-02-21T20:01:27Z","receivedAt":"2023-02-21T20:01:31Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"ashutosh.pandeyhlr007@gmail.com writes:\n\n> From: Ashutosh Pandey <ashutosh.pandeyhlr007@gmail.com>\n>\n> the `cd` followed the old style which wasn't consistent with the rest of\n> the test suite, so this commit makes it consistent with the current\n> style of the test suite for `cd` in  subshell.\n>\n> Signed-off-by: Ashutosh Pandey <ashutosh.pandeyhlr007@gmail.com>\n> ---\n> this is my first time contributing to git I want to participate in \n> this year's GSoC and I'm looking for some microprojects the ones\n> that are listed on the website are mostly done so if anyone can \n> suggest some beginners level microprojects that would be great.\n>\n>  t/t2015-checkout-unborn.sh | 11 ++++++-----\n>  1 file changed, 6 insertions(+), 5 deletions(-)\n>\n> diff --git a/t/t2015-checkout-unborn.sh b/t/t2015-checkout-unborn.sh\n> index 9425aae639..fdc4149f15 100755\n> --- a/t/t2015-checkout-unborn.sh\n> +++ b/t/t2015-checkout-unborn.sh\n> @@ -9,11 +9,12 @@ TEST_PASSES_SANITIZE_LEAK=true\n>  \n>  test_expect_success 'setup' '\n>  \tmkdir parent &&\n> -\t(cd parent &&\n> -\t git init &&\n> -\t echo content >file &&\n> -\t git add file &&\n> -\t git commit -m base\n> +\t(\n> +\t\tcd parent &&\n> +\t \tgit init &&\n> +\t \techo content >file &&\n> +\t \tgit add file &&\n> +\t \tgit commit -m base\n>  \t) &&\n>  \tgit fetch parent main:origin\n>  '\n\nOK.  This makes it siimlar to the last test in the same t2015 script\nthat uses this \"more recent\" style.\n\nLooks good.\n\nThanks.\n"},{"id":"472397","messageId":"xmqqilfueqe1.fsf@gitster.g","threadId":"59268","inReplyTo":"20230218192128.7963-1-ashutosh.pandeyhlr007@gmail.com","subject":"Re: [PATCH] t2015-checkout-unborn.sh: changes the style for cd","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2023-02-21T20:04:54Z","receivedAt":"2023-02-21T20:05:06Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"ashutosh.pandeyhlr007@gmail.com writes:\n\n> +\t(\n> +\t\tcd parent &&\n> +\t \tgit init &&\n> +\t \techo content >file &&\n> +\t \tgit add file &&\n> +\t \tgit commit -m base\n\nThese four lines begin with \"HT SP HT\"; the space between the\nhorizontal tabs should be removed.\n\nNo need to resend, as \"git am --whitespace=fix\" already corrected\nthem.\n\nThanks.\n"}]}