# [GSoC] Microproject for git

4 messages from 2020-03-18 to 2020-03-19. Participants: Harshit Jain, Shourya Shukla, Hariom verma, Kaartic Sivaraam.
Thread: https://gitlist.dev/t/53022

## Harshit Jain, 2020-03-18 18:59

Subject: [GSoC] Microproject for git
Message-ID: <CACuU+s9BsWVCMXpp6KgJ-NaDuadcegZ2kVSMmuAYO9YquTK8LA@mail.gmail.com>
URL: https://gitlist.dev/e/CACuU%2Bs9BsWVCMXpp6KgJ-NaDuadcegZ2kVSMmuAYO9YquTK8LA%40mail.gmail.com

```
Hi,
I am Harshit Jain, a senior undergraduate student pursuing bachelors
at IIT Delhi. In the coming summers, I am really looking forward to
contribute to git as a part of the GSoC program. And for the same, I
am working on the "Use test_path_is_* functions in test scripts"
microproject. As a part of the same, I found a few test scripts where
the 'test -f' can potentially be replaced by 'test_path_is_file'
function. I changed one test script and it works fine. So, should I
just commit this change now (the change looks very trivial to me) and
if not, how to proceed from here?

Kind regards,
Harshit Jain
Senior Undergraduate, IIT Delhi

```

## Shourya Shukla, 2020-03-18 19:27

Subject: Re:[GSoC] Microproject for git
Message-ID: <20200318192719.1127-1-shouryashukla.oo@gmail.com>
URL: https://gitlist.dev/e/20200318192719.1127-1-shouryashukla.oo%40gmail.com
In-Reply-To: <CACuU+s9BsWVCMXpp6KgJ-NaDuadcegZ2kVSMmuAYO9YquTK8LA@mail.gmail.com>

```
Hello Harshit,

> I found a few test scripts where the 'test -f' can potentially be replaced by 'test_path_is_file'
> function.

That's nice!

> I changed one test script and it works fine. So, should I
> just commit this change now (the change looks very trivial to me) and
> if not, how to proceed from here?

Make sure to execute a 'make' in the working directory so that your changes
_actually_ have some effect. Running a changed test without 'make' is
basically running the old test all over again.

You could also maybe do some code modernizations. What I did as my microproject
might be of some help:

https://lore.kernel.org/git/20200118083326.9643-1-shouryashukla.oo@gmail.com/

Also, make sure the commit message is descriptive and does not contain any
extra whitespaces. I think you must know by now that we submit patches here
via the mailing list and not pull requests.

Regards,
Shourya Shukla

```

## Hariom verma, 2020-03-18 20:05

Subject: Re: [GSoC] Microproject for git
Message-ID: <CA+CkUQ-gRMR2Q2ZCB=oa0mUV9fxtPKAfnpeG+mPZU_PqPKXVbg@mail.gmail.com>
URL: https://gitlist.dev/e/CA%2BCkUQ-gRMR2Q2ZCB%3Doa0mUV9fxtPKAfnpeG%2BmPZU_PqPKXVbg%40mail.gmail.com
In-Reply-To: <20200318192719.1127-1-shouryashukla.oo@gmail.com>

```
Hi Harshit,

On Thu, Mar 19, 2020 at 12:58 AM Shourya Shukla
> I think you must know by now that we submit patches here
> via the mailing list and not pull requests.

I addition to what Shourya said, you can also make it easier on
yourself by using GitGitGadget, which takes out the pain of sending
patches in the required format via email, see
https://gitgitgadget.github.io/ for details.

Regards,
Hariom

```

## Kaartic Sivaraam, 2020-03-19 08:03

Subject: Re: [GSoC] Microproject for git
Message-ID: <b7173e2a-a1d1-8354-4b9b-cbef45c6093d@gmail.com>
URL: https://gitlist.dev/e/b7173e2a-a1d1-8354-4b9b-cbef45c6093d%40gmail.com
In-Reply-To: <CA+CkUQ-gRMR2Q2ZCB=oa0mUV9fxtPKAfnpeG+mPZU_PqPKXVbg@mail.gmail.com>

```
Hi Harshit,

On 19-03-2020 01:35, Hariom verma wrote:
> Hi Harshit,
> 
> On Thu, Mar 19, 2020 at 12:58 AM Shourya Shukla
>> I think you must know by now that we submit patches here
>> via the mailing list and not pull requests.
> 
> I addition to what Shourya said, you can also make it easier on
> yourself by using GitGitGadget, which takes out the pain of sending
> patches in the required format via email, see
> https://gitgitgadget.github.io/ for details.
> 

There's also a MyFirstContribution[1] document which could help you. 
Particularly, there's a section[2] which contains step-by-step 
information about how to send patches using GitGitGadget.

Good luck with your contribution :)

[1]: https://git-scm.com/docs/MyFirstContribution
[2]: https://git-scm.com/docs/MyFirstContribution#howto-ggg

-- 
Sivaraam

```
