Overwriting untracked working tree files (when identical)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux