summaryrefslogtreecommitdiff
path: root/t/lib-patch-mode.sh
AgeCommit message (Collapse)AuthorFilesLines
2010-02-21Merge branch 'jc/maint-fix-test-perm'Libravatar Junio C Hamano1-0/+2
* jc/maint-fix-test-perm: lib-patch-mode.sh: Fix permission t6000lib: Fix permission
2010-01-30lib-patch-mode.sh: Fix permissionLibravatar Junio C Hamano1-0/+2
In the same sprit as 4848509 (Fix permissions on test scripts, 2007-04-13), t/lib-patch-mode.sh should not be executable. Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-08-18tests: disable interactive hunk selection tests if perl is not availableLibravatar Jeff King1-0/+5
These are all backed by git-add--interactive.perl under the hood. Signed-off-by: Jeff King <peff@peff.net> Acked-By: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-08-14Add a small patch-mode testing libraryLibravatar Thomas Rast1-0/+36
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>