git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git + cygwin + core.editor - adding drive when it shouldn't
@ 2011-06-23 21:23 layer
  0 siblings, 0 replies; 2+ messages in thread
From: layer @ 2011-06-23 21:23 UTC (permalink / raw)
  To: git

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

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

* git + cygwin + core.editor - adding drive when it shouldn't
@ 2011-06-23 22:09 layer
  0 siblings, 0 replies; 2+ messages in thread
From: layer @ 2011-06-23 22:09 UTC (permalink / raw)
  To: git

Actually, it looks like emacs is doing it:

1 -> server-log: string="Received -auth ... -dir C:\\cygwin\\home\\layer\\acl82.64\\src\\cl/ -current-frame -tty CONOUT$ emacs -file /home/layer/acl82.64/src/cl/.git/rebase-merge/git-rebase-todo 
" client=#<process server <127.0.0.1:55481>>

The -file value doesn't have a c:/....  nevermind.

Kevin

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

end of thread, other threads:[~2011-06-23 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-23 21:23 git + cygwin + core.editor - adding drive when it shouldn't layer
  -- strict thread matches above, loose matches on Subject: below --
2011-06-23 22:09 layer

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