Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » gitignore and folders bug
gitignore and folders bug [message #718539] Wed, 24 August 2011 16:09 Go to next message
Eclipse User
Originally posted by: rkwright

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.36">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Verdana}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 17.0px; font: 14.0px Verdana; min-height: 17.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 17.0px; font: 14.0px Verdana}
span.s1 {text-decoration: underline ; color: #2c1cfe}
</style>
</head>
<body>
<p class="p1">I see a couple of threads about EGit not ignoring folders in the gitignore file.<span class="Apple-converted-space">  </span>I am seeing the same problem.</p>
<p class="p2"><br></p>
<p class="p3">One of the threads has this comment:</p>
<p class="p2"><br></p>
<p class="p3">"Charley is working on a patch for this, go ahead download it from Gerrit, give it a try and provide review comments here <a href="http://egit.eclipse.org/r/#change,326"><span class="s1">http://egit.eclipse.org/r/#change,326</span></a><span class="s1">"</span></p>
<p class="p2"><br></p>
<p class="p3">But that patch is labeled abandoned.<span class="Apple-converted-space">  </span>This bug makes EGit rather unpalatable.</p>
<p class="p2"><br></p>
<p class="p3">Has this been fixed in the nightlies?</p>
<p class="p2"><br></p>
<p class="p3">TIA, Ric<span class="Apple-converted-space"> </span></p>
</body>
</html>
Re: gitignore and folders bug [message #718584 is a reply to message #718539] Wed, 24 August 2011 17:50 Go to previous messageGo to next message
Carsten Reckord is currently offline Carsten Reckord
Messages: 139
Registered: July 2009
Senior Member
Hi Ric,

Reading the comments on that patch, it appears to have been abandoned in
favour of a solution in JGit. http://egit.eclipse.org/r/#change,683 seems to
be the one you're looking for.

cheers,
Carsten

On 24.08.2011 18:09, rkwright wrote:
> I see a couple of threads about EGit not ignoring folders in the
> gitignore file. I am seeing the same problem.
>
> One of the threads has this comment:
>
> "Charley is working on a patch for this, go ahead download it from
> Gerrit, give it a try and provide review comments here
> http://egit.eclipse.org/r/#change,326"
>
> But that patch is labeled abandoned. This bug makes EGit rather unpalatable.
>
> Has this been fixed in the nightlies?
>
> TIA, Ric
Re: gitignore and folders bug [message #719513 is a reply to message #718539] Sat, 27 August 2011 15:03 Go to previous messageGo to next message
Eclipse User
Originally posted by: rkwright

Carsten,

Thanks for the reply. So how can I get this fix? Do I need to get the
patch and integrate it myself? Or...

TIA, Ric
Re: gitignore and folders bug [message #719544 is a reply to message #719513] Sat, 27 August 2011 18:00 Go to previous messageGo to next message
Manuel Doninger is currently offline Manuel Doninger
Messages: 119
Registered: October 2010
Senior Member
This patch is merged into master since 2010.
Can you post more details about your problem? What folders aren't ignored and what's the content of the .gitignore file?
I haven't seen this problem so far, so maybe it's a bug with special folder names or something like that.
Re: gitignore and folders bug [message #727621 is a reply to message #719544] Wed, 21 September 2011 15:34 Go to previous message
Ric Wright is currently offline Ric Wright
Messages: 70
Registered: July 2009
Member
On 2011-08-27 13:00:07 -0500, Manuel Doninger said:

> This patch is merged into master since 2010.
> Can you post more details about your problem? What folders aren't
> ignored and what's the content of the .gitignore file?
> I haven't seen this problem so far, so maybe it's a bug with special
> folder names or something like that.

Below is the contents of my .gitignore_global file (which is pointed to
in my .gitconfig). Note that it attempts to exclude .DS_Store (which I
also do in EGit's preferences). But it always shows this in the commit
window anyway. I can hide the .DS_Store by clicking "untracked" icon,
but it comes back the next time I open the commit dialog.

Ric


# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
..DS_Store
ehthumbs.db
Icon
Thumbs.db

# GMS specific
######################
runtime-Workbench/
workspace/
Previous Topic:EGIT plugin in eclipse.
Next Topic:Retrieve Tag information using JGit API
Goto Forum:
  


Current Time: Fri Oct 31 10:57:29 GMT 2014

Powered by FUDForum. Page generated in 0.02222 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software