Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323070 - Artificial "Track"/"Untrack" actions are confusing to EGit evaluators
Summary: Artificial "Track"/"Untrack" actions are confusing to EGit evaluators
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 0.9.0   Edit
Assignee: Stefan Lay CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 13:44 EDT by Uwe Stieber CLA
Modified: 2010-09-30 10:05 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 Uwe Stieber CLA 2010-08-18 13:44:56 EDT
Having "Track" and "Untrack" in the "Team" context menu of a selected resource is very uncommon and confusing. The "git add" (and "git rm") commands are multi-purpose commands, so they should in EGit. It's very annoying that "Add" does not do what some one does expect if coming from command line. Basically, "Track" and "Untrack" should go away, and "Add" should become a real equivalent to "git add", and the equivalent to "git rm" should be added (at least I haven't found it).
Comment 1 Uwe Stieber CLA 2010-08-19 03:43:48 EDT
> and the equivalent to "git rm" should be added (at least I haven't found it).

Obviously "Untrack" is "git rm", so make this "Untrack" should be properly renamed.
Comment 2 Stefan Lay CLA 2010-08-19 07:27:18 EDT
Since commit df27ebc65d7eb50b3c8eae96155e58c865241b7e from 2010-07-28 the "Add" command does the following:

"Now whole subtrees can be added by the Add menu item.
It stages changes, adds files and resolves conflicts. 
Files ignored by .gitignore or by Eclipse are not added to 
the repository."

These are the main features of the command line add.

Since commit f1a567951bf1c9a0aca47afafffde930b9740cf3 from 2010-07-29 the "Track" menu item is remove.

You can get this changes with the nightly build or with the next release 0.9.0 planned for september.

What would you expect instead of "Untrack"?
Comment 3 Uwe Stieber CLA 2010-08-23 04:03:36 EDT
Well, in a very naive approach, guess I would name it "Rm" having a red "-" sign as icon.
Comment 4 Stefan Lay CLA 2010-09-30 09:19:14 EDT
But "Untrack" corresponds to rm --cached. This means that the file is deleted in the index but kept in the working tree. 

Git rm is implicitely done if you delete a file in eclipse.
Comment 5 Uwe Stieber CLA 2010-09-30 09:54:53 EDT
OK, than keep the "Untrack". You may close the bugzilla than.
Comment 6 Stefan Lay CLA 2010-09-30 10:05:51 EDT
Ok, if you have any better idea than "Untrack" please reopen the bug.

Mercurial uses "Remove from Repository". But I doubt that it is better than "Untrack".