Bug 395570 - .gitignore should be automatically added to index after creating
Summary: .gitignore should be automatically added to index after creating
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 2.2   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-02 17:14 EST by Andrey Loskutov CLA
Modified: 2017-06-21 07:46 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Loskutov CLA 2012-12-02 17:14:58 EST
Using latest nightly 2.2.0 build.

AS IS:
Make file or folder "ignored" by git from package explorer
.gitignore file is created
.gitignore file is marked with "unknown" state

TO BE:
New .gitignore file created as a result of "ignore" action in Eclipse should be automatically added to the git index. Otherwise the next thing the user can do is to navigate to the parent directory, unselect ". files" filter, search  for .gitignore and add it to the index manually. Why?
Comment 1 Robin Rosenberg CLA 2013-01-04 19:03:50 EST
Slightly easier is to add it from the staging view