Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347067

Summary: Assume unchanged file appears in commit dialog
Product: [Technology] EGit Reporter: k.hirakawa88
Component: CoreAssignee: Robin Rosenberg <robin.rosenberg>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk, robin.rosenberg
Version: 0.12   
Target Milestone: 2.3   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
A screenshot of the commit dialog none

Description k.hirakawa88 CLA 2011-05-24 15:30:30 EDT
Build Identifier: 20110218-0911

A removed file with the "assume-unchanged" flag will appear in the commit dialog.
Expected behavior: commit dialog should be blank, since it the file is removed.

Reproducible: Always

Steps to Reproduce:
1.on cmdline, mkdir test
2.cd test
3.git init
4.create test.txt
5.git add .
6.git commit -m "init"
7.import git project test into egit
8.back to cmdline, git update-index --assume-unchanged test.txt
9.rm test.txt
10.Now try commiting.  Normally, I would expect the commit dialog to be blank, but instead I see test.txt with a status of "Assume unchanged". See attachment.
Comment 1 k.hirakawa88 CLA 2011-05-24 15:31:08 EDT
Please also see stackoverflow thread -> http://stackoverflow.com/questions/6103904/git-update-index-assume-unchanged-discrepancy-in-egit
Comment 2 k.hirakawa88 CLA 2011-05-24 15:32:11 EDT
Created attachment 196479 [details]
A screenshot of the commit dialog
Comment 3 Robin Rosenberg CLA 2013-01-01 09:51:54 EST
Patch: https://git.eclipse.org/r/#/c/9412/
Comment 4 Chris Aniszczyk CLA 2013-01-03 20:32:55 EST
Fixed in master.