Code

Add a small patch-mode testing library
authorThomas Rast <trast@student.ethz.ch>
Thu, 13 Aug 2009 12:29:40 +0000 (14:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Aug 2009 19:40:09 +0000 (12:40 -0700)
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>

No differences found