Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 291133 - Add 'add to gitignore'
Summary: Add 'add to gitignore'
Status: CLOSED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-01 19:52 EDT by Alex Blewitt CLA
Modified: 2010-02-11 11:25 EST (History)
4 users (show)

See Also:


Attachments
Implements the 'add to .gitignore' action (5.21 KB, patch)
2009-10-01 19:54 EDT, Alex Blewitt CLA
no flags Details | Diff
fix import statement for org.spearce.jgit.lib.Constants (1.02 KB, patch)
2009-10-02 08:30 EDT, Mykola Nikishov CLA
no flags Details | Diff
provide constant for gitignore filename (934 bytes, patch)
2009-10-02 08:34 EDT, Mykola Nikishov CLA
sop: iplog+
sop: review+
Details | Diff
use constant for gitignore filename from org.eclipse.jgit.lib.Constants (1.60 KB, patch)
2009-10-02 08:38 EDT, Mykola Nikishov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2009-10-01 19:52:59 EDT
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-gb) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9
Build Identifier: 

This adds an 'add to .gitignore' menu which will enable selected resources to be added to the .gitignore file. This should be added, even before the functionality in egit is present to ignore these; since it's been festering in Google Code's issue tracker since before the rename, I don't see any reason to hold out on it.

I've refactored and re-tested against the new org.eclipse.* names and it works as expected.

Reproducible: Always
Comment 1 Alex Blewitt CLA 2009-10-01 19:54:37 EDT
Created attachment 148599 [details]
Implements the 'add to .gitignore' action
Comment 2 Alex Blewitt CLA 2009-10-01 19:55:52 EDT
This was formerly Issue 64 http://code.google.com/p/egit/issues/detail?id=64
Comment 3 Mykola Nikishov CLA 2009-10-02 08:30:38 EDT
Created attachment 148636 [details]
fix import statement for org.spearce.jgit.lib.Constants
Comment 4 Mykola Nikishov CLA 2009-10-02 08:34:25 EDT
Created attachment 148637 [details]
provide constant for gitignore filename
Comment 5 Mykola Nikishov CLA 2009-10-02 08:38:54 EDT
Created attachment 148638 [details]
use constant for gitignore filename from org.eclipse.jgit.lib.Constants
Comment 6 Alex Blewitt CLA 2009-10-15 14:48:09 EDT
Added gerrit reviews:

http://egit.eclipse.org/r/68 - add 'add to ignore' action, from first patch
http://egit.eclipse.org/r/67 - add 'gitignore' constant, from second patch
http://egit.eclipse.org/r/69 - change first patch (r/68) to use constant introduced into JGit (r/67)
Comment 7 Mykola Nikishov CLA 2009-11-09 19:19:10 EST
Alex, is there any progress?
Comment 8 Alex Blewitt CLA 2009-11-10 03:15:52 EST
The code is in here and on Gerrit, but Shawn didn't want it to be submitted without squashing which I can't do due to a bug in ZFS causing rebase to fail on my machine.
Comment 9 Stefan Lay CLA 2010-02-11 11:25:17 EST
The bug is fixed with http://egit.eclipse.org/r/#change,76,
therefore I propose to close the bug.