-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
Description
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
yadmfor Windows and add the binary's directory toPATH. - Download the Transcrypt latest release and place the binary in
PATH. - Initialize a YADM repository with
yadm init. - Run
yadm transcryptin Git Bash.