git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git issue
@ 2016-11-01 10:28 Halde, Faiz
  2016-11-01 17:45 ` Jeff King
  0 siblings, 1 reply; 9+ messages in thread
From: Halde, Faiz @ 2016-11-01 10:28 UTC (permalink / raw)
  To: git@vger.kernel.org

Hello Git

Not sure if this is a feature or a bug, but here it is.

I frequently use the following command to ignore changes done in a file

git update-index --assume-unchanged somefile

Now when I do a pull from my remote branch and say the file 'somefile' was changed locally and in remote, git will abort the merge saying I need to commit my changes of 'somefile'.

But isn't the whole point of the above command to ignore the changes within the file?

Thanks
Faiz Halde 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-11-07 22:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-01 10:28 Git issue Halde, Faiz
2016-11-01 17:45 ` Jeff King
2016-11-01 18:11   ` Junio C Hamano
2016-11-07 22:34     ` Git issue - ignoring changes to tracked file with assume-unchanged Jakub Narębski
2016-11-01 20:50   ` Git issue Philip Oakley
2016-11-01 21:03     ` Jeff King
2016-11-01 21:23       ` Junio C Hamano
2016-11-04  4:52         ` Jacob Keller
2016-11-01 21:04     ` [PATCH] doc: update-index --assume-unchanged Philip Oakley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).