{"thread":{"id":"24805","subject":"git diff shows no output","startedAt":"2010-08-20T13:02:35Z","lastAt":"2010-08-23T06:34:47Z","messageCount":3,"participants":["Charles Brossollet","Jonathan Nieder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"148558","messageId":"EBCC0FEA-1FF2-4909-BE80-DE280C9D6487@lltech.fr","threadId":"24805","inReplyTo":null,"subject":"git diff shows no output","fromName":"Charles Brossollet","fromEmail":"chbrosso@lltech.fr","sentAt":"2010-08-20T13:02:35Z","receivedAt":"2010-08-20T13:02:35Z","isPatch":false,"sender":{"key":"chbrosso@lltech.fr","avatar":null},"body":"Hello,\n\nI'm a new user of git, and I meet a very strange behaviour with the git diff command.\nI have modified stuff in a file, with changes both in the index and the working tree.\n\n\"git diff\" shows nothing, while \"git diff | cat\" shows the diff, as well as \"git diff>output.txt\" puts diff in output.txt.\nQuite Weird\n\nI'm on Mac OS X 10.6.4, using git 1.7.2.1, installed via macports.\n\nBest,\n-- \nCharles\n"},{"id":"148563","messageId":"20100820133856.GC15736@burratino","threadId":"24805","inReplyTo":"EBCC0FEA-1FF2-4909-BE80-DE280C9D6487@lltech.fr","subject":"Re: git diff shows no output","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-08-20T13:38:56Z","receivedAt":"2010-08-20T13:38:56Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi!\n\nCharles Brossollet wrote:\n\n> \"git diff\" shows nothing, while \"git diff | cat\" shows the diff, as\n> well as \"git diff>output.txt\" puts diff in output.txt.\n\n\"git diff\" paginates its output by default.  Perhaps your $LESS\ncontains -F but not -X?\n\nHope that helps,\nJonathan\n"},{"id":"148730","messageId":"5A25561B-B643-4203-82B7-BCED02EAFC61@lltech.fr","threadId":"24805","inReplyTo":"20100820133856.GC15736@burratino","subject":"Re: git diff shows no output","fromName":"Charles Brossollet","fromEmail":"chbrosso@lltech.fr","sentAt":"2010-08-23T06:34:47Z","receivedAt":"2010-08-23T06:34:47Z","isPatch":false,"sender":{"key":"chbrosso@lltech.fr","avatar":null},"body":"That's right, nice guess!! thanks a lot!\n\nBest\n-- \nCharles\n\nLe 20 août 2010 à 15:38, Jonathan Nieder a écrit :\n\n> Hi!\n> \n> Charles Brossollet wrote:\n> \n>> \"git diff\" shows nothing, while \"git diff | cat\" shows the diff, as\n>> well as \"git diff>output.txt\" puts diff in output.txt.\n> \n> \"git diff\" paginates its output by default.  Perhaps your $LESS\n> contains -F but not -X?\n> \n> Hope that helps,\n> Jonathan\n"}]}