From: Junio C Hamano Date: Mon, 18 Oct 2010 21:54:01 GMT Subject: Re: [PATCH] Trim ending whitespaces in exclude file if needed. Message-ID: <7v39s3416u.fsf@alter.siamese.dyndns.org> In-Reply-To: "Vasyl'" writes: >> It sounds like there's a story behind this one. Could you tell it? >> That would help future readers of this code to easily determine >> why they shouldn't break it. >> > I modify either .git/info/exclude or .gitignore by copy-pasting `git > status`. But unfortunetly this adds spacing to ends of lines and ignoring > does not work... That makes it sound as if you would need a patch to fix your editor or whatever you are using for copy/paste, rather than git, no? I do not personally have need to ignore paths whose names end with whitespaces, and I do not think anybody with such a need is sane, so in that sense your patch would be less harmful than the purist in me finds issues in it ;-) But it changes the documented behaviour that requires documentation updates, yes?