svにのみインストール。
wget http://kernel.org/pub/software/scm/git/git-1.6.6.1.tar.bz2 tar xvfj git-1.6.6.1.tar.bz2 cd git-1.6.6.1 CFLAGS="-Os -march=i686 -DNO_NSEC" ./configure --without-tcltk nice make all test su make install
* FAIL 2: saying "n" does nothing set_and_save_state dir/foo work head && (echo n; echo n) | git checkout -p && verify_saved_state bar && verify_saved_state dir/foo * FAIL 3: git checkout -p (echo n; echo y) | git checkout -p && verify_saved_state bar && verify_state dir/foo head head * FAIL 4: git checkout -p with staged changes set_state dir/foo work index (echo n; echo y) | git checkout -p && verify_saved_state bar && verify_state dir/foo index index * FAIL 5: git checkout -p HEAD with NO staged changes: abort set_and_save_state dir/foo work head && (echo n; echo y; echo n) | git checkout -p HEAD && verify_saved_state bar && verify_saved_state dir/foo * FAIL 6: git checkout -p HEAD with NO staged changes: apply (echo n; echo y; echo y) | git checkout -p HEAD && verify_saved_state bar && verify_state dir/foo head head * FAIL 7: git checkout -p HEAD with change already staged set_state dir/foo index index # the third n is to get out in case it mistakenly does not apply (echo n; echo y; echo n) | git checkout -p HEAD && verify_saved_state bar && verify_state dir/foo head head * FAIL 8: git checkout -p HEAD^ # the third n is to get out in case it mistakenly does not apply (echo n; echo y; echo n) | git checkout -p HEAD^ && verify_saved_state bar && verify_state dir/foo parent parent * FAIL 9: path limiting works: dir set_state dir/foo work head && (echo y; echo n) | git checkout -p dir && verify_saved_state bar && verify_state dir/foo head head * FAIL 10: path limiting works: -- dir set_state dir/foo work head && (echo y; echo n) | git checkout -p -- dir && verify_saved_state bar && verify_state dir/foo head head * FAIL 11: path limiting works: HEAD^ -- dir # the third n is to get out in case it mistakenly does not apply (echo y; echo n; echo n) | git checkout -p HEAD^ -- dir && verify_saved_state bar && verify_state dir/foo parent parent * FAIL 12: path limiting works: foo inside dir set_state dir/foo work head && # the third n is to get out in case it mistakenly does not apply (echo y; echo n; echo n) | (cd dir && git checkout -p foo) && verify_saved_state bar && verify_state dir/foo head head * ok 13: none of this moved HEAD * failed 11 among 13 test(s)