Written by

Question Sameera B K · Mar 10, 2017

SourceControl - Git

Hello,

I am trying to integrate the Git with Studio. I have followed the below process to achiche Git tab in my Studio for Namespace

https://github.com/intersystems-ib/cache-git-studio

But I am getting the below error when I trying to Add the file. GitCodecache is my git repository.

fatal: c:/GitCodecache/cls/User/Testing.xml: 'c:/GitCodecache/cls/User/Testing.xml' is outside repository

class '%Studio.SourceControl.Interface', method 'GetStatus': <ILLEGAL VALUE> 78 zStatus+8^Studio.SourceControl.Command.GITClient.1

Comments

Dmitry Maslennikov · Mar 10, 2017

As it is opened project, you can fill an issue directly on that repository. So, developer may get notification about it quite quickly to respond.

0
Alberto Fuentes · Mar 12, 2017

Hi Sameera,

Make sure that workdir is configured in ^GITConfig with a trailing slash.

set ^GITConfig($username,"workdir")="c:\GitCode\"

Also make sure that your workdir c:\GitCode\ is a proper initilized git repository.

0