From a3c3c1ff4c8058ad5d9365834f88c16700241e21 Mon Sep 17 00:00:00 2001 From: James Manning Date: Thu, 8 Nov 2012 11:39:26 -0500 Subject: [PATCH] fix Generated_Code entry in CSharp.gitignore The existing entry for Generated_Code (with a space and then a comment afterwards) wasn't working for me (at least with msysgit version 1.7.11.msysgit.1). Once I put the comment on a separate line and removed the trailing space after 'Generated_Code', it worked fine. The gitignore(5) man page says a line starting with # is treated as a comment, but doesn't mention what # does if it's elsewhere in the line, so based on the previous behavior and trying a line of "Generated_Code#foo", it appears that the # and the rest of the line isn't ignored, so we need to move the comment to its own line that starts with # http://www.kernel.org/pub/software/scm/git/docs/gitignore.html --- CSharp.gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CSharp.gitignore b/CSharp.gitignore index bdc3535f..3b326a33 100644 --- a/CSharp.gitignore +++ b/CSharp.gitignore @@ -99,7 +99,8 @@ ClientBin [Ss]tyle[Cc]op.* ~$* *.dbmdl -Generated_Code #added for RIA/Silverlight projects +# added for RIA/Silverlight projects +Generated_Code # Backup & report files from converting an old project file to a newer # Visual Studio version. Backup files are not needed, because we have git ;-)