{"thread":{"id":"42258","subject":"Config for git-blame flags -w, -M, and -C?","startedAt":"2016-05-07T17:03:36Z","lastAt":"2016-05-08T18:39:52Z","messageCount":3,"participants":["Joe Lencioni","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"285825","messageId":"CAJzkHHf-B0FK=Ow=B49GjSWyHJ6+fdnSvyGphDrEdkCGy1TOAg@mail.gmail.com","threadId":"42258","inReplyTo":null,"subject":"Config for git-blame flags -w, -M, and -C?","fromName":"Joe Lencioni","fromEmail":"joe.lencioni@gmail.com","sentAt":"2016-05-07T17:03:36Z","receivedAt":"2016-05-07T17:03:36Z","isPatch":false,"sender":{"key":"joe.lencioni@gmail.com","avatar":null},"body":"git-blame has a few options are useful when working with commits that\nonly modify whitespace (-w), move code within the file (-M), or move\ncode between files (-C). It would be nice if there was a way to\nconfigure git so these options could be enabled by default when\nrunning `git blame`.\n\nI suppose this would also require the addition of the inverse options,\nor perhaps arguments for the options, to disable them if needed.\n\nThoughts?\n\n/Joe\n"},{"id":"285894","messageId":"xmqqk2j4z9wm.fsf@gitster.mtv.corp.google.com","threadId":"42258","inReplyTo":"CAJzkHHf-B0FK=Ow=B49GjSWyHJ6+fdnSvyGphDrEdkCGy1TOAg@mail.gmail.com","subject":"Re: Config for git-blame flags -w, -M, and -C?","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2016-05-08T18:23:21Z","receivedAt":"2016-05-08T18:23:21Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Joe Lencioni <joe.lencioni@gmail.com> writes:\n\n> Thoughts?\n\nFor end-user facing commands that are expected to be used by human\ntyping on the keyboard, I'd recommend\n\n\tgit config alias.bl \"blame -w -M -C\"\n\ninstead.\n"},{"id":"285896","messageId":"CAJzkHHfVK+UtEEx0d+T_ga3v6SiW0=2VhYFcMuMndzy0k9sK7Q@mail.gmail.com","threadId":"42258","inReplyTo":"xmqqk2j4z9wm.fsf@gitster.mtv.corp.google.com","subject":"Re: Config for git-blame flags -w, -M, and -C?","fromName":"Joe Lencioni","fromEmail":"joe.lencioni@gmail.com","sentAt":"2016-05-08T18:39:52Z","receivedAt":"2016-05-08T18:39:52Z","isPatch":false,"sender":{"key":"joe.lencioni@gmail.com","avatar":null},"body":"> git config alias.bl \"blame -w -M -C\"\n\nIndeed, that would do the trick when interacting with git directly.\nHowever, I am interested in something that would provide a consistent\ngit blame across all tools that integrate with git, such as GUI tools\nand editor integrations like Fugitive.\n"}]}