Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360353 - Support to set/unset skip-worktree bit for entries in the Git index
Summary: Support to set/unset skip-worktree bit for entries in the Git index
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 477771
Blocks:
  Show dependency tree
 
Reported: 2011-10-09 08:57 EDT by Matthias Sohn CLA
Modified: 2015-09-18 04:28 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 Matthias Sohn CLA 2011-10-09 08:57:09 EDT
JGit does support the skip-worktree bit described in man page of git update-index. EGit should support setting/unsetting this bit from the UI similar to the assume-unchanged bit which is already supported.
Comment 1 Markus Keller CLA 2015-09-17 14:42:46 EDT
This would be great. I only recently learned about the differences between assume-unchanged and skip-worktree:
http://stackoverflow.com/questions/13630849/git-difference-between-assume-unchanged-and-skip-worktree

Unfortunately, both file states are not handled correctly in all EGit operations, see bug 477749 and bug 477745. Until those bugs are fixed, skip-worktree wouldn't offer an advantage over assume-unchanged in EGit.