* Config for git-blame flags -w, -M, and -C?
@ 2016-05-07 17:03 Joe Lencioni
2016-05-08 18:23 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Joe Lencioni @ 2016-05-07 17:03 UTC (permalink / raw)
To: git
git-blame has a few options are useful when working with commits that
only modify whitespace (-w), move code within the file (-M), or move
code between files (-C). It would be nice if there was a way to
configure git so these options could be enabled by default when
running `git blame`.
I suppose this would also require the addition of the inverse options,
or perhaps arguments for the options, to disable them if needed.
Thoughts?
/Joe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Config for git-blame flags -w, -M, and -C?
2016-05-07 17:03 Config for git-blame flags -w, -M, and -C? Joe Lencioni
@ 2016-05-08 18:23 ` Junio C Hamano
2016-05-08 18:39 ` Joe Lencioni
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2016-05-08 18:23 UTC (permalink / raw)
To: Joe Lencioni; +Cc: git
Joe Lencioni <joe.lencioni@gmail.com> writes:
> Thoughts?
For end-user facing commands that are expected to be used by human
typing on the keyboard, I'd recommend
git config alias.bl "blame -w -M -C"
instead.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Config for git-blame flags -w, -M, and -C?
2016-05-08 18:23 ` Junio C Hamano
@ 2016-05-08 18:39 ` Joe Lencioni
0 siblings, 0 replies; 3+ messages in thread
From: Joe Lencioni @ 2016-05-08 18:39 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
> git config alias.bl "blame -w -M -C"
Indeed, that would do the trick when interacting with git directly.
However, I am interested in something that would provide a consistent
git blame across all tools that integrate with git, such as GUI tools
and editor integrations like Fugitive.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-08 18:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-07 17:03 Config for git-blame flags -w, -M, and -C? Joe Lencioni
2016-05-08 18:23 ` Junio C Hamano
2016-05-08 18:39 ` Joe Lencioni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.