libgit2/tests-clar/stash/stash_helpers.h
Russell Belfer 155fa2342d Add clar helper to create new commit from index
There were a lot of places in the test code base that were creating
a commit from the index on the current branch.  This just adds a
helper to handle that case pretty easily.  There was only one test
where this change ended up tweaking the test data, so pretty easy
and mostly just a cleanup.
2013-09-17 09:31:46 -07:00

4 lines
69 B
C

void setup_stash(
git_repository *repo,
git_signature *signature);