Describe the bug
When using YADM in Windows via Git Bash (MINGW64), attempting to initialize Transcrypt in a YADM repository using yadm transcrypt results in the following error:
name@host MINGW64 ~
$ yadm --version
bash version 5.2.37(1)-release
git version 2.47.1.windows.1
yadm version 3.3.0
$ yadm status
On branch main
nothing to commit (use -u to show untracked files)
name@host MINGW64 ~
$ transcrypt --version
transcrypt 2.3.0
name@host MINGW64 ~
$ yadm transcrypt
fatal: --local can only be used inside a git repository
transcrypt: you are not currently in a git repository; did you forget to run "git init"?
This issue does not occur when using YADM and Transcrypt in WSL. However, I would prefer to use Git Bash for consistency and to avoid maintaining two YADM repositories in one OS.
To reproduce
- Download
yadm for Windows and add the binary's directory to PATH.
- Download the Transcrypt latest release and place the binary in
PATH.
- Initialize a YADM repository with
yadm init.
- Run
yadm transcrypt in Git Bash.
Describe the bug
When using YADM in Windows via Git Bash (MINGW64), attempting to initialize Transcrypt in a YADM repository using
yadm transcryptresults in the following error:This issue does not occur when using YADM and Transcrypt in WSL. However, I would prefer to use Git Bash for consistency and to avoid maintaining two YADM repositories in one OS.
To reproduce
yadmfor Windows and add the binary's directory toPATH.PATH.yadm init.yadm transcryptin Git Bash.