Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Command Processer for GIT using -l flag

Hi,

 

Executing "git init" command in this case (with the –l flag) causes git NOT to initialize the current working directory as a git repository,

But a different directory (somewhere under \usr…)

 

This is not the desired or expected behavior

 

Regards,

Dror

 

 

From: che-dev-bounces@xxxxxxxxxxx [mailto:che-dev-bounces@xxxxxxxxxxx] On Behalf Of Sergii Kabashniuk
Sent: Tuesday, June 30, 2015 5:02 PM
To: che developer discussions
Cc: Balan, Yossi; Saar, Giora; Navon, Ohad
Subject: Re: [che-dev] Command Processer for GIT using -l flag

 

Hello Dror

 

On Tue, Jun 30, 2015 at 4:25 PM, Cohen, Dror <dror.cohen@xxxxxxx> wrote:

Hello,

 

While trying to execute "git init" on a directory from inside Che we've encountered the following issue:

 

The command executed are "/bin/bash" "-cl" "git init"

The "-l" flag caused a re-login, and thereby causes our "git init" command to be executed not in the PWD…. This is our problem

What does it mean "command to be executed not in the PWD". Can you describe a bit more your usecase?

 

Where does this "-l" flag is set?

What is the motivation for using it?

It's old like a "Mamont". Nobody remembers why. Probably copy-pasted from some manual.

 

Thanks and Regards,

Dror

 


_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/che-dev

Sergii Kabashniuk


Back to the top