3 ms·
Not a huge deal, but it hides the actual author of that line when you're doing a blame. I try to only change the precise lines I need to in a commit, and all o
by peeters 14y ago
Not a huge deal, but it hides the actual author of that line when you're doing a blame. I try to only change the precise lines I need to in a commit, and all of them are relevant to the commit message. That way it's usually a very quick check to see what commit added a certain line.
If I absolutely need to do some tidying in a file, I do it in a fully separate commit so that the change can not be construed to be related to the other feature.
- 0x0 14y agoSounds like someone should implement a blame option for "ignore whitespace - show latest author with non-whitespace changes"!
- projct 14y agogit blame -w already does this: http://www.kernel.org/pub/software/scm/git/docs/git-blame.html http://www.kernel.org/pub/software/scm/git/docs/git-blame.ht...
- jonhohle 14y agogit blame -w
- binarycrusader 14y agoMercurial already has this as well: hg annotate --help ... -w --ignore-all-space ignore white space when comparing lines -b --ignore-space-change ignore changes in the amount of white space -B --ignore-blank-lines ignore changes whose lines are all blank