Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347067 - Assume unchanged file appears in commit dialog
Summary: Assume unchanged file appears in commit dialog
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.12   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 2.3   Edit
Assignee: Robin Rosenberg CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 15:30 EDT by k.hirakawa88 CLA
Modified: 2013-01-03 20:32 EST (History)
2 users (show)

See Also:


Attachments
A screenshot of the commit dialog (14.32 KB, image/png)
2011-05-24 15:32 EDT, k.hirakawa88 CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.