Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Issue when using plink to push on windows

On Wed, Dec 15, 2010 at 9:48 AM, Lluis Sanchez Gual
<slluis.devel@xxxxxxxxx> wrote:
> I'm trying to push a repo in Windows, and I happen to have GIT_SSH set
> to use TortoisePlink (I have Tortoise Git installed). The command fails
> because TortoisePlink can't understand the '--batch' option (which is
> being set in TransportGitSsh.ExtConnection), but it works if I use
> '-batch', that is, with a single dash. I also tried with the plink
> included in Putty, and I got the same result.
>
> I'm wondering if this is a bug in the JGit code or if there is some
> plink version out there which requires the double dash and has to be
> special-cased.

Its a typo in the new JGit code.  The correct form is one dash, not two.

I'll push a fix for it.  Thanks!

-- 
Shawn.


Back to the top