From: Michael Haggerty Date: Mon, 24 Oct 2011 11:58:46 GMT Subject: Re: [PATCH 12/12] is_refname_available(): reimplement using do_for_each_ref_in_array() Message-ID: <4EA552F6.4010005@alum.mit.edu> In-Reply-To: <4E9FD1C3.3090302@alum.mit.edu> On 10/20/2011 09:46 AM, Michael Haggerty wrote: > On 10/20/2011 03:40 AM, Junio C Hamano wrote: >> Hmm, why is this patch and only this one in the series full of whitespace >> violations? Did you use a different settings or something? > > This happens rarely; I don't know why. Maybe I copy-pasted snippets > from a view in an application that expanded the tabs. [...] Now I think I know how this happened. When "git diff"'s output goes to a TTY, it passes its output through the pager. The default pager, less, seems to convert tabs into spaces. I probably copy-pasted some output of diff into my editor then removed the first column of '+' characters. Just another reason why tabs are evil... :-) Michael -- Michael Haggerty mhagger@alum.mit.edu http://softwareswirl.blogspot.com/