Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git-Subtreee split #1921

Closed
1 task done
Grzy7316 opened this issue Nov 8, 2018 · 1 comment
Closed
1 task done

Git-Subtreee split #1921

Grzy7316 opened this issue Nov 8, 2018 · 1 comment
Labels

Comments

@Grzy7316
Copy link

Grzy7316 commented Nov 8, 2018

  • I was not able to find an open or closed issue matching what I'm seeing

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

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

@dscho
Copy link
Member

dscho commented Feb 26, 2019

@Grzy7316 hopefully you will find the following information useful in fixing this issue:

Since there was not enough information in the bug report to make enough sense of the issue, this is all I can do here, and the ball is squarely back in your court, @Grzy7316.

@dscho dscho added the question label Feb 27, 2019
@dscho dscho closed this as completed Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants