mbox series

[v2,0/2] t7501: add tests for --include, --only,

Message ID 20240109165304.8027-2-shyamthakkar001@gmail.com (mailing list archive)
Headers show
Series t7501: add tests for --include, --only, | expand

Message

Ghanshyam Thakkar Jan. 9, 2024, 4:51 p.m. UTC
This patch series adds tests for --include, --only of commit and test
for amending the commit with --signoff. And it also addresses the
reviews of Christian Couder and Phillip Wood.

The v2 of this patch removes unnecessary initialization of git repos
and reuses existing files instead of creating new files. Also, it 
removes some redundant code, namely committing everytime for tracking new
files, instead of just staging the files.

The second patch of this series refactors the test with a better
approach as suggested by Phillip Wood.

Ghanshyam Thakkar (2):
  t7501: add tests for --include, --only of commit
  t7501: add test for --amend with --signoff

 t/t7501-commit-basic-functionality.sh | 68 ++++++++++++++++++++++++++-
 1 file changed, 66 insertions(+), 2 deletions(-)