diff options
author | Stefan Beller <sbeller@google.com> | 2016-12-08 21:03:26 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-09 22:52:57 (GMT) |
commit | 6f94351b0a4dd107623a35dc9081bf31c7ddac88 (patch) | |
tree | 91477f0dc12e4e7f56190218e6e60ccd7c31da7c /worktree.c | |
parent | 89c8626557621ef000930da3c8a23fa03ad7e01a (diff) | |
download | git-6f94351b0a4dd107623a35dc9081bf31c7ddac88.zip git-6f94351b0a4dd107623a35dc9081bf31c7ddac88.tar.gz git-6f94351b0a4dd107623a35dc9081bf31c7ddac88.tar.bz2 |
test-lib-functions.sh: teach test_commit -C <dir>
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 <dir>" similar to gits -C parameter
that will perform the operation in the given directory.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'worktree.c')
0 files changed, 0 insertions, 0 deletions