Closed
Description
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options
git version 2.18.0.windows.1
cpu: x86_64
built from commit: cd1a74fc9dc8a07626c216940db9a51f25206e03
sizeof-long: 4
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.15063]
- I chose the Defaults
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
Editor Option: VisualStudioCode
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
Details
cmd , git bash or powershell
- What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
git Subtree split -P C:/SVG2/Corporate/SQL_Scripts/Solutions/Jira_SSMS -b Jira_SSMS
git Subtree split -P /Corporate/SQL_Scripts/Solutions/Jira_SSMS -b Jira_SSMS
git Subtree split -P ./Corporate/SQL_Scripts/Solutions/Jira_SSMS -b Jira_SSMS
- What did you expect to occur after running these commands?
I expected to do a subdirectory based subtree split for that folder
- What actually happened instead?
I recieved the error(s) below
git Subtree split -P C:/SVG2/Corporate/SQL_Scripts/Solutions/Jira_SSMS -b Jira_SSMS
assertion failed: test Corporate/SQL_Scripts/Solutions/Jira_SSMS = C:/SVG2/Corporate/SQL_Scripts/Solutions/Jira_SSMS
assertion failed: test Corporate/SQL_Scripts/Solutions/Jira_SSMS = C:/SVG2/Corporate/SQL_Scripts/Solutions/Jira_SSMS
assertion failed: test Corporate/SQL_Scripts/Solutions/Jira_SSMS = C:/SVG2/Corporate/SQL_Scripts/Solutions/Jira_SSMS
assertion failed: test Corporate/SQL_Scripts/Solutions/Jira_SSMS = C:/SVG2/Corporate/SQL_Scripts/Solutions/Jira_SSMS
assertion failed: test Corporate/SQL_Scripts/Solutions/Jira_SSMS = C:/SVG2/Corporate/SQL_Scripts/Solutions/Jira_SSMS
No new revisions were found
git Subtree split -P /Corporate/SQL_Scripts/Solutions/Jira_SSMS -b Jira_SSMS
C:/Program Files/Git/Corporate/SQL_Scripts/Solutions/Jira_SSMS' does not exist; use 'git subtree add'
git Subtree split -P ./Corporate/SQL_Scripts/Solutions/Jira_SSMS -b Jira_SSMS
assertion failed: test Corporate/SQL_Scripts/Solutions/Jira_SSMS = ./Corporate/SQL_Scripts/Solutions/Jira_SSMS
assertion failed: test Corporate/SQL_Scripts/Solutions/Jira_SSMS = ./Corporate/SQL_Scripts/Solutions/Jira_SSMS
assertion failed: test Corporate/SQL_Scripts/Solutions/Jira_SSMS = ./Corporate/SQL_Scripts/Solutions/Jira_SSMS
No new revisions were found
However, When using linux git under WSL to perform the command git Subtree split -P /mnt/c/SVG2/Corporate/SQL_Scripts/Solutions/Jira_SSMS -b Jira_SSMS the subtree split is working