{"thread":{"id":"40807","subject":"--color-diff='.' considered useful","startedAt":"2015-11-16T14:25:55Z","lastAt":"2015-11-20T14:59:44Z","messageCount":4,"participants":["Michael J Gruber","Matthieu Moy"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"273368","messageId":"5649E773.7040705@drmicha.warpmail.net","threadId":"40807","inReplyTo":null,"subject":"--color-diff='.' considered useful","fromName":"Michael J Gruber","fromEmail":"git@drmicha.warpmail.net","sentAt":"2015-11-16T14:25:55Z","receivedAt":"2015-11-16T14:25:55Z","isPatch":false,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"git tip of the day:\n\ngit diff --color-words='.'\ngit show --color-words='.'\n\nThat will help you find that 1 character change that a failed default\nword split hides from your eyes.﻿\n\nI guess everyone here will know already, but I found that super useful\nand much easier than trying to get a meaningful word split for that 100+\nchar TeX source line without a single space...\n\nCheers,\nMichael\n"},{"id":"273370","messageId":"vpq1tbq812p.fsf@anie.imag.fr","threadId":"40807","inReplyTo":"5649E773.7040705@drmicha.warpmail.net","subject":"Re: --color-diff='.' considered useful","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2015-11-16T14:34:54Z","receivedAt":"2015-11-16T14:34:54Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Michael J Gruber <git@drmicha.warpmail.net> writes:\n\n> git tip of the day:\n>\n> git diff --color-words='.'\n> git show --color-words='.'\n\nProbably my main usage of --color-words indeed (except I omit the single\nquotes ;-) ).\n\nI think this deserves an explicit mention in the doc.\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"273544","messageId":"6697f80b679b2bc910aa02a0fc945453be38c532.1448026505.git.git@drmicha.warpmail.net","threadId":"40807","inReplyTo":"vpq1tbq812p.fsf@anie.imag.fr","subject":"[PATCH] Documentation/diff: give --word-diff-regex=. example","fromName":"Michael J Gruber","fromEmail":"git@drmicha.warpmail.net","sentAt":"2015-11-20T13:36:14Z","receivedAt":"2015-11-20T13:36:14Z","isPatch":true,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"It's just so useful.\n\nSigned-off-by: Michael J Gruber <git@drmicha.warpmail.net>\n---\n Documentation/diff-options.txt | 3 +++\n 1 file changed, 3 insertions(+)\n\ndiff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt\nindex d56ca90..306b7e3 100644\n--- a/Documentation/diff-options.txt\n+++ b/Documentation/diff-options.txt\n@@ -267,6 +267,9 @@ expression to make sure that it matches all non-whitespace characters.\n A match that contains a newline is silently truncated(!) at the\n newline.\n +\n+For example, `--word-diff-regex=.` will treat each character as a word\n+and, correspondingly, show differences character by character.\n++\n The regex can also be set via a diff driver or configuration option, see\n linkgit:gitattributes[1] or linkgit:git-config[1].  Giving it explicitly\n overrides any diff driver or configuration setting.  Diff drivers\n-- \n2.6.3.507.gca54332\n"},{"id":"273549","messageId":"vpq1tbkhg2n.fsf@anie.imag.fr","threadId":"40807","inReplyTo":"6697f80b679b2bc910aa02a0fc945453be38c532.1448026505.git.git@drmicha.warpmail.net","subject":"Re: [PATCH] Documentation/diff: give --word-diff-regex=. example","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2015-11-20T14:59:44Z","receivedAt":"2015-11-20T14:59:44Z","isPatch":true,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Michael J Gruber <git@drmicha.warpmail.net> writes:\n\n> It's just so useful.\n\nConfirmed-by: Matthieu Moy <Matthieu.Moy@imag.fr>\n\nThanks,\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"}]}