https://bugzilla.wikimedia.org/show_bug.cgi?id=36169

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Krinkle <[email protected]> 2012-04-27 10:01:10 UTC ---
Since this bug is primary summarized as fixing whitespace and not an inline
editor per se (that could be another feature request), I'll reply as such.

In `git diff` (or after `git add`, in `git diff --cached`) whitespace is
highlighted in bright red (depending on your settings, I use ".gitconfig:
[color] diff = auto"). So one should check that before committing as part of
the general pre-commit check.

Then one can fix that in whatever way you prefer (open up the file in an editor
and fix it by hand, or use a find/replace function and replace " \n" and "\t\n"
with "\n"), or do it with some utility from the command line (we could add a
script to /tools that checks which files have been modified and fix the
whitespace of those). But in general those kind of changes should be made in
separate commits.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to