git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-rebase + git-mergetool results in broken state
@ 2016-02-23 22:44 Joe Einertson
  2016-03-01 16:38 ` David Aguilar
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Einertson @ 2016-02-23 22:44 UTC (permalink / raw)
  To: git

I'm experiencing an annoying issue which leaves the repository in a
weird, broken state. I am attempting a rather vanilla rebase, rebasing
the commits from a feature branch on top of the newest commits on
master.

So, I run a typical series of commands:
1. git checkout feature-branch
2. git rebase master (conflicts ensue)
3. git mergetool

The conflicts are expected, but when using mergetool to resolve them,
I encounter many "no such file or directory" errors.

mv: cannot stat
‘app/components/mediaManager/kbImageEditor.directive.coffee’: No such
file or directory
cp: cannot stat
‘./app/components/mediaManager/kbImageEditor.directive_BACKUP_13615.coffee’:
No such file or directory
mv: cannot move ‘.merge_file_ogGjXX’ to
‘./app/components/mediaManager/kbImageEditor.directive_BASE_13615.coffee’:
No such file or directory
/usr/lib/git-core/git-mergetool: 229: /usr/lib/git-core/git-mergetool:
cannot create ./app/components/mediaManager/kbImageEditor.directive_LOCAL_13615.coffee:
Directory nonexistent
/usr/lib/git-core/git-mergetool: 229: /usr/lib/git-core/git-mergetool:
cannot create ./app/components/mediaManager/kbImageEditor.directive_REMOTE_13615.coffee:
Directory nonexistent

This leaves weird dangling files like '.merge_file_ogGjXX' in the
repo, and I assume I should not proceed with the merge since it
couldn't even create the files to compare.

Is this a known issue? Is there any workaround? Is it safe to proceed
with the merge?

Thanks,
Joe Einertson

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

end of thread, other threads:[~2016-03-02 22:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-23 22:44 git-rebase + git-mergetool results in broken state Joe Einertson
2016-03-01 16:38 ` David Aguilar
2016-03-02 22:29   ` Joe Einertson

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