git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* 'git pull' complains that a locally resurrected directory would be overwritten by merge when no pulled changes are affecting that directory
@ 2021-08-24 16:41 Yuri
  2021-08-25  1:05 ` Jeff King
  2021-08-25  5:43 ` Bagas Sanjaya
  0 siblings, 2 replies; 9+ messages in thread
From: Yuri @ 2021-08-24 16:41 UTC (permalink / raw)
  To: Git Mailing List

In the FreeBSD ports repository I resurrected the directory (that was 
removed a long time ago) with the command:

 > $ git checkout {hash}~1 -- math/polymake


I made local changes to this directory and called 'git add math/polymake'.

Then 'git pull' complained:

 > $ git pull
 > error: Your local changes to the following files would be overwritten 
by merge:
 >   math/polymake/Makefile math/polymake/distinfo 
math/polymake/files/patch-Makefile 
math/polymake/files/patch-support_install.pl math/polymake/pkg-descr 
math/polymake/pkg-plist


No incoming changes affect math/polymake. Nobody has created this 
directory simultaneously with me. There is no intersection with incoming 
changes.


Why does 'git pull' complain then?



Yuri



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

end of thread, other threads:[~2021-08-28  5:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-24 16:41 'git pull' complains that a locally resurrected directory would be overwritten by merge when no pulled changes are affecting that directory Yuri
2021-08-25  1:05 ` Jeff King
2021-08-25 15:42   ` Elijah Newren
2021-08-25 19:05     ` Jeff King
2021-08-25 21:19     ` Junio C Hamano
2021-08-27  1:05       ` Jeff King
2021-08-28  5:21         ` Elijah Newren
2021-08-25  5:43 ` Bagas Sanjaya
2021-08-25  5:47   ` Yuri

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).