{"thread":{"id":"26464","subject":"Bug in \"git diff-files\"","startedAt":"2011-02-10T17:56:07Z","lastAt":"2011-02-10T17:56:07Z","messageCount":1,"participants":["Vampire"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"160828","messageId":"4D5426B7.9010007@Masters-of-Disaster.de","threadId":"26464","inReplyTo":null,"subject":"Bug in \"git diff-files\"","fromName":"Vampire","fromEmail":"vampire@masters-of-disaster.de","sentAt":"2011-02-10T17:56:07Z","receivedAt":"2011-02-10T17:56:07Z","isPatch":false,"sender":{"key":"vampire@masters-of-disaster.de","avatar":"https://gravatar.com/avatar/598ed777fc283d4ad76c9d852f539afbe5acbae25cf549a846a7aeb290d3738e?d=mp&s=160"},"body":"Hi,\n\nI found a bug in git diff-files.\ngit diff-files with a --diff-filter and --quiet given behaves bad.\nI have a diff-filter of U and one file M and one U.\nBut diff-lib.c:105-107 in commit 1a9fe45 stops as soon as HAS_CHANGES is \ntrue.\nIn my case it found the M file and stops searching as --quiet is given.\nBut then when applying the diff-filter, this M instance is filtered out \nand thus 0 is returned instead of 1 which is returned with --exit-code \nand without --quiet.\n\nRegards\nBjörn Kautler\n"}]}