{"thread":{"id":"57590","subject":"subtree split fails to remove not relevant commits","startedAt":"2022-03-21T09:36:49Z","lastAt":"2022-03-21T09:36:49Z","messageCount":1,"participants":["Кирилл Росколий"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"451721","messageId":"CAMutOmEVw1Y1XA665EYW+F6tgw5fBdwnCroGakfoOEQ0kbxQJw@mail.gmail.com","threadId":"57590","inReplyTo":null,"subject":"subtree split fails to remove not relevant commits","fromName":"Кирилл Росколий","fromEmail":"kirill.roskolii@gmail.com","sentAt":"2022-03-21T09:36:25Z","receivedAt":"2022-03-21T09:36:49Z","isPatch":false,"sender":{"key":"kirill.roskolii@gmail.com","avatar":null},"body":"Hello,\n\nWhat did you do before the bug happened? (Steps to reproduce your issue)\n\n`git subtree split --prefix=${project_path} --branch=${BRANCH}` .\nAs part of the parent project we developed a couple smaller ones. Now\nit was time to release them separately.\nMost splitted as expected - first commit in the history was about\ncreating a sub-directory.\nOne sub-project has an issue - history wasn't erased, it contained\nfull parent project history,\nand only commits starting from creation of the sub-directory have\n\"contents\" changed.\n\n\nWhat did you expect to happen? (Expected behavior)\n\nWhen I do \"git log --oneline -- $path-to-usb-directory\" I have 21\ncommits in the history, so\nI expect to receive this history in the resulting, filtered, repository.\n\nWhat happened instead? (Actual behavior)\n\nFull history of the parent project is visible.\nOriginally encountered on 2.17.1. Then replicated on 2.25.0 and the one below.\n\nAt the  moment the parent repository is not publicly accessible, but I\ncan share it if this will be useful for debugging. It also has the\nscript that splits sub-projects.\n\n[System Info]\ngit version:\ngit version 2.35.1\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nuname: Linux 5.4.0-104-generic #118~18.04.1-Ubuntu SMP Thu Mar 3\n13:53:15 UTC 2022 x86_64\ncompiler info: gnuc: 7.5\nlibc info: glibc: 2.27\n$SHELL (typically, interactive shell): /bin/bash\n\n\n[Enabled Hooks]\n\n\n-- \nKirill Roskolii\n-----------------------------------------------\nMobile: 021 088 11055\nSignal:  021 088 11055\nGPG: 0xC675DFFBEE30974D4E478095A96816DD0EC7FEA1\n"}]}