{"thread":{"id":"28485","subject":"bug with submodule and assume-unchanged","startedAt":"2011-09-24T18:41:29Z","lastAt":"2011-09-24T18:41:29Z","messageCount":1,"participants":["Orgad and Raizel Shaneh"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"176134","messageId":"CAGHpTBKyK_PQ1LU-st-vq3xa9tkxJSUQ=UZKARUQu25_sVu46A@mail.gmail.com","threadId":"28485","inReplyTo":null,"subject":"bug with submodule and assume-unchanged","fromName":"Orgad and Raizel Shaneh","fromEmail":"orgads@gmail.com","sentAt":"2011-09-24T18:41:29Z","receivedAt":"2011-09-24T18:41:29Z","isPatch":false,"sender":{"key":"orgads@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1246544?v=4"},"body":"Hello,\n\nMarking a submodule with update-index --assume-unchanged breaks diff.\n\nConsider the script in http://pastebin.ca/2082543. The last 'diff'\noutput follows. Note that the diff for 'afile' is displayed, then sub\nbreaks the operation, and the diff for 'test' (or any other file that\ncomes after 'sub') is not displayed at all.\n\n$:/tmp/git$ cd super/\n$:/tmp/git/super$ git diff\nfatal: unable to read c17499ae216dfba9538ed7f94ba109c2c5b87b2a\ndiff --git a/afile b/afile\nindex 14be0d4..7c2160f 100644\n--- a/afile\n+++ b/afile\n@@ -1 +1 @@\n-hello2\n+goodbye2\ndiff --git a/sub b/sub\ndeleted file mode 160000\nindex c17499a..0000000\n--- a/sub\n+++ /dev/null\n@@ -1 +0,0 @@\n-Subproject commit c17499ae216dfba9538ed7f94ba109c2c5b87b2a\n\n- Orgad\n"}]}