Code

t7111: check that reset options work as described in the tables
authorChristian Couder <chriscool@tuxfamily.org>
Fri, 8 Jan 2010 04:45:10 +0000 (05:45 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Jan 2010 07:38:43 +0000 (23:38 -0800)
commitd7eed8cbef2d15e87e9002f5e3ce08830b40b292
tree30050ccde870d1b1bc4724d2ab6881647c951c01
parent397d596f84209d0e9d17621ce56b5432bc98d368
t7111: check that reset options work as described in the tables

Some previous patches added some tables to the "git reset"
documentation. These tables describe the behavior of "git reset"
depending on the option it is passed and the state of the files
in the working tree, the index, HEAD and the target commit.

This patch adds some tests to make sure that the tables describe
the behavior of "git reset".

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7111-reset-table.sh [new file with mode: 0755]