Re: Challenge with Git-Bash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 17, 2010 at 16:20, Rainer Lauer <lauerr@xxxxxxx> wrote:
> Hello,
> with my Windows 7 Git-Installation I get following challenge:
> 1)      Set GIT_EDITOR to editor of your choice
> 2)      With Windows7 let this editor run in admin-mode
>        Goto .exe-file -> right mouse-click -> compatibility -> run program
> as admin (I'm running a German version maybe English names are slightly
> different)
> 3)      Make a git action like git add file
>                             git commit
>        from the git bash.
> 4)      Now following message appears:  sh.exe: ./"editor of your choice":
> Bad file number
> Everything is fine without Admin-Mode set for editor. In other words if you
> get rid of step 2) step 4) doesn't appear instead the editor starts.
> Due to other tasks my editor of choice has to run in this mode - stupid
> enough.
>
> Any chance to get around this problem?
> (No not taking a different editor, no not getting rid of admin mode :) )

Did you actually set "GIT_EDITOR" to the string "editor of your
choice", as opposed to the full path to Emacs, notepad or something
like that?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]