git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Mergetool generating blank files (1.5.3)

From
KWKelvie Wong <kelvie@ieee.org>
Date
Sep 27, 2007, 18:31 UTC
Message-ID
<94ccbe710709271131o620bf1far8893328ce98f0ba4@mail.gmail.com>

At work, I've been using a git-svn import for my daily workflow (still somewhat of a git newbie, but now has come to the point where it's tough to work without it), and while rebasing from svn (on a rather old branch), I found that the mergetool option does not work too well for me.

I am using version 1.5.3 and I have tried all of the different diff tools (save opendiff) that are supported by git -- but in the middle of a rebase, whenever I run the mergetool, the LOCAL, REMOTE, and BASE temporary files that are created are all empty. The BACKUP file remains, and still has the proper 3-way-merge conflict syntax (with <<<< ==== >>>>) and such, but the other files are all empty -- and thus the mergetool of choice does not read it (it shows up empty there too, of course).

What could I do to fix this? I'm confident that there are conflicts (git tells me so, and I end up manually going through all the files in emacs anyways, but it's very tedious); or is there another tool that reads the 3-way-merge syntax (the < = >'s) and lets me pick one or the other, or do I have to write my own?

I know there's just something funky on my system, because someone else doesn't seem to have this problem on his computer -- maybe it is because I use the svn rebase, but it does that when I rebase onto another branch too.

Thanks.
-- 
Kelvie
Next: Pierre Habouzit
Message 1 of 28 in “Mergetool generating blank files (1.5.3)”
  1. Kelvie WongSep 27, 2007
  2. Pierre HabouzitSep 27, 2007
  3. Russ BrownSep 27, 2007
  4. Pierre HabouzitSep 27, 2007
  5. Theodore TsoSep 27, 2007
  6. Pierre HabouzitSep 27, 2007
  7. Peter BaumannSep 28, 2007
  8. Pierre HabouzitSep 28, 2007
  9. Jeff KingSep 27, 2007
  10. Pierre HabouzitSep 27, 2007
  11. Jeff KingSep 27, 2007
  12. Kelvie WongSep 27, 2007
  13. Junio C HamanoSep 27, 2007
  14. Kelvie WongSep 27, 2007
  15. Junio C HamanoSep 27, 2007
  16. Kelvie WongSep 27, 2007
  17. Junio C HamanoSep 27, 2007
  18. Junio C HamanoSep 27, 2007
  19. Kelvie WongSep 27, 2007
  20. Kelvie WongSep 27, 2007
  21. Junio C HamanoSep 27, 2007
  22. Junio C HamanoSep 27, 2007
  23. Kelvie WongSep 27, 2007
  24. Theodore TsoSep 27, 2007
  25. Kelvie WongSep 28, 2007
  26. David KastrupSep 28, 2007
  27. Theodore TsoSep 27, 2007
  28. David KågedalSep 28, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.