Re: [PATCH 2/3] test-lib-functions.sh: teach test_commit -C

2016-11-21 Thread Junio C Hamano
Stefan Beller writes: > Specifically when setting up submodule tests, it comes in handy if > we can create commits in repositories that are not at the root of > the tested trash dir. Add "-C " similar to gits -C parameter > that will perform the operation in the given

[PATCH 2/3] test-lib-functions.sh: teach test_commit -C

2016-11-21 Thread Stefan Beller
Specifically when setting up submodule tests, it comes in handy if we can create commits in repositories that are not at the root of the tested trash dir. Add "-C " similar to gits -C parameter that will perform the operation in the given directory. Signed-off-by: Stefan Beller