git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Overwriting untracked working tree files (when identical)
@ 2008-11-29 18:58 Asheesh Laroia
  2008-12-01  9:28 ` Andreas Ericsson
  0 siblings, 1 reply; 2+ messages in thread
From: Asheesh Laroia @ 2008-11-29 18:58 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: TEXT/PLAIN, Size: 576 bytes --]

I was using git earlier today and got the familiar error:

 	"Untracked working tree file 'filename’ would be overwritten by merge"

As it happens, I know that filename in my local filesystem and filename in 
the remote git branch have the same contents.

Would it make sense for git to check for this possibility, and if the 
working tree file is the same as the file being merged in with that 
filename, allow the overwrite?

(I received the message with "git pull," so I imagine it was emitted by 
the recursive merge driver.)

-- Asheesh.

-- 
Reply hazy, ask again later.

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

end of thread, other threads:[~2008-12-01  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-29 18:58 Overwriting untracked working tree files (when identical) Asheesh Laroia
2008-12-01  9:28 ` Andreas Ericsson

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).