From: Sanchit Jindal Date: Thu, 21 Mar 2024 20:28:21 GMT Subject: Re: [PATCH 2/2] t9803: update commit messages and description Message-ID: In-Reply-To: On Fri, 22 Mar 2024 at 01:22, Eric Sunshine wrote: > > On Thu, Mar 21, 2024 at 3:39 PM Sanchit Jindal via GitGitGadget > wrote: > > From: Sanchit Jindal > > > > replacing `test -e` with test_path_exists, > > `test ! -e` with test_path_is_missing > > `test -f` with test_path_is_file > > These helper functions will run the `test` command with the > > corresponding flags and will echo a message if the assert fails. > > This will provide better debugging logs for test, instead of the > > previous method which provided no message > > > > Signed-off-by: Sanchit Jindal > > When rerolling a series to address reviewer comments, you will want > the fixes applied directly to the patches about which the reviewers > commented. The way to do this is to use `git rebase -i` to adjust the > patches as needed. In the case of this simple series, you just want to > "squash" patches [1/2] and [2/2] into a single patch using the `git > rebase -i` "squash" command, and adjust the commit message of the > squashed patch appropriately. Finally, to resubmit it via > GitGitGadget, force-push the revised series to GitGitGadget (using > `git push --force `), and tell GitGitGadget to > "/submit". > > Regarding the commit message, first explain the problem the patch is > solving, and then explain how the patch solves it. Thus, start by > explaining that `test` doesn't provide any diagnostic information when > it fails, which isn't helpful to test authors. Then explain that the > patch replaces `test` with the test_path_* functions which do provide > useful diagnostic information. > > The From: and Signed-off-by: lines look good in this reroll. Thank You for the review I renamed the branch using github as it had a typo which made the earlier patch to be erased.I am extremely sorry about this. I have created another patch with a more descriptive commit message, and after squashing it with the earlier commit. I hope it is satisfactory I wanted to ask, Is it possible to send the patches created using `git format-patch` manually using gmail, Or the default headers applied by `send-email` required. Regards, Sanchit Jindal