git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rainer Lauer" <lauerr@gmx.net>
To: "'Ævar Arnfjörð Bjarmason'" <avarab@gmail.com>
Cc: "'Git Mailing List'" <git@vger.kernel.org>
Subject: AW: Challenge with Git-Bash
Date: Sun, 18 Jul 2010 19:02:26 +0200	[thread overview]
Message-ID: <007f01cb269b$0015dbd0$00419370$@gmx.net> (raw)
In-Reply-To: <AANLkTinODbTbZ7CXaAxs83T_pdyvafWnjSI8kzjcWAXN@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

Hi,
from Jonathan Nieder <jrnieder@gmail.com> I got a successfully work-around. See attached mail.
Thanks for your support and amazingly fast response.

Regis,
Rainer Lauer

-----Ursprüngliche Nachricht-----
Von: Ævar Arnfjörð Bjarmason [mailto:avarab@gmail.com] 
Gesendet: Sonntag, 18. Juli 2010 16:56
An: Rainer Lauer
Cc: Git Mailing List
Betreff: Re: Challenge with Git-Bash

On Sun, Jul 18, 2010 at 14:42, Rainer Lauer <lauerr@gmx.net> wrote:
> Hi,
> thanks for the reply. I did set the full path to my editor of choice.

Good that it worked out. CC-ing the list so that others encountering this problem will find the solution.

[-- Attachment #2: Type: message/rfc822, Size: 2412 bytes --]

From: "Jonathan Nieder" <jrnieder@gmail.com>
To: "Rainer Lauer" <lauerr@gmx.net>
Cc: <git@vger.kernel.org>, <msysgit@googlegroups.com>
Subject: Re: Challenge with Git-Bash
Date: Sat, 17 Jul 2010 19:13:03 +0200
Message-ID: <20100717171303.GB10730@burratino>

(+cc: msysgit)

Hi Rainer,

Rainer Lauer wrote:

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

Apparently “Bad file number” can mean “Permission denied” among other
things on Windows.  I do not have any better suggestion than to try
running git bash as administrator too, sorry.

Regards,
Jonathan

  reply	other threads:[~2010-07-18 17:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-17 16:20 Challenge with Git-Bash Rainer Lauer
2010-07-17 16:36 ` Ævar Arnfjörð Bjarmason
     [not found]   ` <007d01cb2687$62100a90$26301fb0$@gmx.net>
2010-07-18 14:55     ` Ævar Arnfjörð Bjarmason
2010-07-18 17:02       ` Rainer Lauer [this message]
2010-07-17 17:13 ` Jonathan Nieder
2010-07-18 18:08   ` AW: " Rainer Lauer
2010-07-18 18:11     ` Ævar Arnfjörð Bjarmason
2010-07-18 18:16     ` Files used by git config (Re: Challenge with Git-Bash) Jonathan Nieder
2010-07-19 18:09     ` AW: Challenge with Git-Bash Eric Raible

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='007f01cb269b$0015dbd0$00419370$@gmx.net' \
    --to=lauerr@gmx.net \
    --cc=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).