{"thread":{"id":"53780","subject":"Bug when pulling subtree changes","startedAt":"2020-07-01T09:25:40Z","lastAt":"2020-07-01T09:25:40Z","messageCount":1,"participants":["Klaus Ethgen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"400872","messageId":"20200701084310.GC7618@ikki.ethgen.ch","threadId":"53780","inReplyTo":null,"subject":"Bug when pulling subtree changes","fromName":"Klaus Ethgen","fromEmail":"klaus@ethgen.ch","sentAt":"2020-07-01T08:43:10Z","receivedAt":"2020-07-01T09:25:40Z","isPatch":false,"sender":{"key":"klaus@ethgen.ch","avatar":null},"body":"Hello,\n\ncurrently I suffer of a strange bug with subtree.\n\nLong ago, I did the following:\n   git subtree add --prefix=stdlib https://github.com/puppetlabs/puppetlabs-stdlib 4.12.0\n   git subtree pull --squash --prefix=stdlib https://github.com/puppetlabs/puppetlabs-stdlib 4.19.0\n   git subtree pull --squash --prefix=stdlib https://github.com/puppetlabs/puppetlabs-stdlib 4.20.0\n\nToday I wanted to do the following:\n   git subtree pull --squash --prefix=stdlib https://github.com/puppetlabs/puppetlabs-stdlib v6.3.0\n\nBut got the following error:\n   From https://github.com/puppetlabs/puppetlabs-stdlib\n    * tag                   v6.3.0     -> FETCH_HEAD\n   fatal: ambiguous argument '3a4414eb087da0dafa147df047f6bf8f18a6a621^0': unknown revision or path not in the working tree.\n   Use '--' to separate paths from revisions, like this:\n   'git <command> [<revision>...] -- [<file>...]'\n   could not rev-parse split hash 3a4414eb087da0dafa147df047f6bf8f18a6a621 from commit c1118a27ef27c1fd4df7877f0b0fb606ea30f0fd\n   Can't squash-merge: 'stdlib' was never added.\n\nThe revisions are fully valid:\n- c1118a27ef27c1fd4df7877f0b0fb606ea30f0fd: The last squash revision in\n  the private repository\n- 3a4414eb087da0dafa147df047f6bf8f18a6a621: Tag 4.20.0 in\n  puppetlabs-stdlib repository\n- Tag v6.3.0 pointing to 990cd99 in puppetlabs-stdlib repository\n\nThe current git version is 2.27.0. I have no record about the revision\nused for the pulls in past.\n\nAnyone an idea why this doesn't work anymore?\n\nPlease keep me in Cc as I am not subscribed to the mailing list.\n\nRegards\n   Klaus\n-- \nKlaus Ethgen                                       http://www.ethgen.ch/\npub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>\nFingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C\n"}]}