{"thread":{"id":"27512","subject":"weird rename","startedAt":"2011-05-31T19:12:52Z","lastAt":"2011-05-31T19:19:49Z","messageCount":3,"participants":["Fabian Zeindl","Reece Dunn"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"169069","messageId":"7760D048-5534-42A2-82D2-D5BB9C75739C@gmail.com","threadId":"27512","inReplyTo":null,"subject":"weird rename","fromName":"Fabian Zeindl","fromEmail":"fabian.zeindl@gmail.com","sentAt":"2011-05-31T19:12:52Z","receivedAt":"2011-05-31T19:12:52Z","isPatch":false,"sender":{"key":"fabian.zeindl@gmail.com","avatar":null},"body":"Hi,\n\n i use a GUI for git and discovered that it showed me a rename in a commit where i actually replaced a file.\nSo i looked at the commit via git show, and found the following:\n\nBinary files /dev/null and b/lib/swt-3.7M7-win32.jar differ\ndiff --git a/lib/swt-3.7M7-win64.jar b/lib/swt-3.7M7-win64.jar\n\nWhere is the /dev/null coming from?\n\nRegards\nFabian Zeindl"},{"id":"169070","messageId":"BANLkTikuZ-ig0einn+GhMh9EJp4jp2TCxg@mail.gmail.com","threadId":"27512","inReplyTo":"7760D048-5534-42A2-82D2-D5BB9C75739C@gmail.com","subject":"Re: weird rename","fromName":"Reece Dunn","fromEmail":"msclrhd@googlemail.com","sentAt":"2011-05-31T19:18:00Z","receivedAt":"2011-05-31T19:18:00Z","isPatch":false,"sender":{"key":"msclrhd@googlemail.com","avatar":null},"body":"On 31 May 2011 20:12, Fabian Zeindl <fabian.zeindl@gmail.com> wrote:\n> Hi,\n>\n>  i use a GUI for git and discovered that it showed me a rename in a commit where i actually replaced a file.\n> So i looked at the commit via git show, and found the following:\n>\n> Binary files /dev/null and b/lib/swt-3.7M7-win32.jar differ\n> diff --git a/lib/swt-3.7M7-win64.jar b/lib/swt-3.7M7-win64.jar\n>\n> Where is the /dev/null coming from?\n\n/dev/null is used to indicate \"does not exist\" -- it is a file device\non Unix boxes that emits null characters or consumes output sending it\nto oblivion :)!\n\nComparing /dev/null with A -- A is a new (added) file.\n\nComparing A with /dev/null -- A is deleted.\n\nHTH,\n- Reece\n"},{"id":"169071","messageId":"9FA9D80A-F970-4B3F-95DD-2B5DE73D27EB@gmail.com","threadId":"27512","inReplyTo":"BANLkTikuZ-ig0einn+GhMh9EJp4jp2TCxg@mail.gmail.com","subject":"Re: weird rename","fromName":"Fabian Zeindl","fromEmail":"fabian.zeindl@gmail.com","sentAt":"2011-05-31T19:19:49Z","receivedAt":"2011-05-31T19:19:49Z","isPatch":false,"sender":{"key":"fabian.zeindl@gmail.com","avatar":null},"body":"On May 31, 2011, at 9:18 PM, Reece Dunn wrote:\n> /dev/null is used to indicate \"does not exist\" \n\nyeah i know that :)\n\n> Comparing /dev/null with A -- A is a new (added) file.\n> Comparing A with /dev/null -- A is deleted.\n\nok, i deleted a similar sounding file (3.7M3 instead of 3.7M7), i just wonder\nwhy git got that as a rename. or the GUI (GitX) at least.\n\nfabian\n"}]}