Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339419 - Team > Ignore does add line properly to .gitignore
Summary: Team > Ignore does add line properly to .gitignore
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.12-M2   Edit
Assignee: Kevin Sawicki CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-09 14:52 EST by Max Rydahl Andersen CLA
Modified: 2011-03-31 17:39 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Rydahl Andersen CLA 2011-03-09 14:52:13 EST
Build Identifier: Eclipse 3.6.2

I had a .gitignore file already with the following content:

target
*~

where there was no carriage return after that last line.

When using Team > Ignore on folder I got:

target
*~/foldername

Making the .gitignore ignore bogus content.

Reproducible: Always
Comment 1 Chris Aniszczyk CLA 2011-03-09 15:33:29 EST
Which build of EGit?
Comment 2 Chris Aniszczyk CLA 2011-03-23 20:20:08 EDT
http://egit.eclipse.org/r/#change,2903
Comment 3 Max Rydahl Andersen CLA 2011-03-30 10:01:49 EDT
(In reply to comment #1)
> Which build of EGit?

0.11.3 it seems.
Comment 4 Chris Aniszczyk CLA 2011-03-31 17:39:00 EDT
Merged into master, thanks.