{"thread":{"id":"34498","subject":"[PATCH] t2202: make sure \"git add\" (no args) stays a no-op","startedAt":"2013-07-20T04:35:23Z","lastAt":"2013-07-20T04:35:23Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"223825","messageId":"7vvc45svas.fsf@alter.siamese.dyndns.org","threadId":"34498","inReplyTo":null,"subject":"[PATCH] t2202: make sure \"git add\" (no args) stays a no-op","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2013-07-20T04:35:23Z","receivedAt":"2013-07-20T04:35:23Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\nSigned-off-by: Junio C Hamano <gitster@pobox.com>\n---\n t/t2202-add-addremove.sh | 10 ++++++++++\n 1 file changed, 10 insertions(+)\n\ndiff --git a/t/t2202-add-addremove.sh b/t/t2202-add-addremove.sh\nindex 6a81510..fc8b59e 100755\n--- a/t/t2202-add-addremove.sh\n+++ b/t/t2202-add-addremove.sh\n@@ -41,4 +41,14 @@ test_expect_success 'git add --all' '\n \ttest_cmp expect actual\n '\n \n+test_expect_success 'Just \"git add\" is a no-op' '\n+\tgit reset --hard &&\n+\techo >will-remove &&\n+\t>will-not-be-added &&\n+\tgit add &&\n+\tgit diff-index --name-status --cached HEAD >actual &&\n+\t>expect &&\n+\ttest_cmp expect actual\n+'\n+\n test_done\n-- \n1.8.3.3-1028-g038de5b\n"}]}