author | Thomas Rast <trast@student.ethz.ch> | |
Thu, 13 Aug 2009 12:29:40 +0000 (14:29 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 14 Aug 2009 19:40:09 +0000 (12:40 -0700) | ||
commit | b319ef70a94731a5c6f18d07a49d5dda3f06f5d3 | |
tree | 36b20255ac7dd270f175fe438316ba8ec6e08cfe | tree | snapshot |
parent | 8f0bef6df91c48d79f982bdb55f784ce445ba5b2 | commit | diff |
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>
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>
t/lib-patch-mode.sh | [new file with mode: 0755] | blob |