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

git + cygwin + core.editor - adding drive when it shouldn't

From
Llayer <layer@known.net>
Date
Jun 23, 2011, 21:23 UTC
Message-ID
<22216.1308864190@relay.known.net>
Windows Server 2008 R2.  Git 1.7.5.1.
When I startup bash in my home directory, HOME is /home/layer.

If I rebase -i, when core.editor set to emacsclientw (from GNU Emacs 23.2), I trace the server side and see a bogus filename coming over:

1 -> server-visit-files: files=(("c:/home/layer/acl82.64/src/cl/.git/rebase-merge/git-rebase-todo")) proc=#<process server <127.0.0.1:55428>> nowait=nil

c:/home/layer/... is wrong. The value in Windows of HOME is c:\cygwin\home\layer, and as I said, bash makes it /home/layer.

Adding the c: before /home is killing me. It makes it impossible to rebase when the inside my home directory.

Help!
Thanks.
Kevin
Message 1 of 1 in “git + cygwin + core.editor - adding drive when it shouldn't”
  1. layerJun 23, 2011

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.