summaryrefslogtreecommitdiff
path: root/combine-diff.c
diff options
context:
space:
mode:
authorLibravatar Thomas Rast <trast@student.ethz.ch>2009-08-13 14:29:40 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-08-14 12:40:09 -0700
commitb319ef70a94731a5c6f18d07a49d5dda3f06f5d3 (patch)
tree36b20255ac7dd270f175fe438316ba8ec6e08cfe /combine-diff.c
parentgit-apply--interactive: Refactor patch mode code (diff)
downloadtgif-b319ef70a94731a5c6f18d07a49d5dda3f06f5d3.tar.xz
Add a small patch-mode testing library
The tests for {reset,commit,stash} -p will frequently have to set both worktree and index states to known values, and verify that the outcome (again both worktree and index) are what was expected. Add a small helper library that lets us do these tasks more easily. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'combine-diff.c')
0 files changed, 0 insertions, 0 deletions