{"thread":{"id":"36587","subject":"read-tree bug","startedAt":"2014-05-06T12:35:27Z","lastAt":"2014-05-06T13:32:00Z","messageCount":2,"participants":["Klishevich, Yauheni"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"240779","messageId":"CF8EB1C1.996%yklishevich@scnsoft.com","threadId":"36587","inReplyTo":null,"subject":"read-tree bug","fromName":"Klishevich, Yauheni","fromEmail":"yklishevich@scnsoft.com","sentAt":"2014-05-06T12:35:27Z","receivedAt":"2014-05-06T12:35:27Z","isPatch":false,"sender":{"key":"yklishevich@scnsoft.com","avatar":null},"body":"Hello!\n\nI have some troubles with git command ³read-tree².\n\nI have big project and I try to add shared library to subdirectory. So I\nmade the following in my project (on master)\n\ngit remote add git@bitbucket.org:ijin1984/groundwork.git\ngit fetch groundwork\ngit checkout ­b gwbranch groundwork/master\ngit checkout master\ngit read-tree --prefix=mb/trunk/src/ru.uralsib.dbo.client.iphone/libs/ -u\ngwbranch\ngit commit ­m ³add groundwork to libs²\nAfter that I make small change in one file inside libs (for example in\n\"mb/trunk/src/ru.uralsib.dbo.client.iphone/libs/groundwork/notes.txt² and\ncommit with \ngit commit ­a ­m ³test commit²\n\nThen I made: \ngit checkout gwbranch\ngit merge --squash -s subtree --no-commit master\n\nAnd after this instead of merging I find the whole main project in subdir\n³groundwork/Groundwork/Base.lproj².\n\nIf I do the 5-th command with ‹prefix option value equal to for example\n³libs² tether than something like ³subdir/subsubdir/Š/libs² - all works\nfine.\n\nI think that it is bag, because I experimented quite a lot with deferrent\nvalues. I think that problem in directory name with dots, i.e.\n\"ru.uralsib.dbo.client.iphone².\n\nCould you please help me with this issue. If you need to add some more\ninfo about this case I will provide.\n\nThanks in advance.\n\n\nBest regards, \nEugene Klishevich\niOS-developer\nskype: eugene.klishevich\n"},{"id":"240781","messageId":"CF8EBE3A.9AF%yklishevich@scnsoft.com","threadId":"36587","inReplyTo":"CF8EB1C1.996%yklishevich@scnsoft.com","subject":"read-tree bug","fromName":"Klishevich, Yauheni","fromEmail":"yklishevich@scnsoft.com","sentAt":"2014-05-06T13:32:00Z","receivedAt":"2014-05-06T13:32:00Z","isPatch":false,"sender":{"key":"yklishevich@scnsoft.com","avatar":null},"body":"Some more info:\n\n\tIf I use in 5-th command “—prefix=--prefix=mb/trunk/src/libs“ - issue is\nreproduced\n\n\tIf “—prefix=--prefix=mb/libs“ - all work fine\n\n\tWith “—prefix=--prefix=mb/trunk/libs“ I haven’t tried, if it is desired\nto check this case, just let me know.\n\n\n\n\n\n\nOn 5/6/14, 15:35, \"Klishevich, Yauheni\" <yklishevich@scnsoft.com> wrote:\n\n>Hello!\n>\n>I have some troubles with git command ³read-tree².\n>\n>I have big project and I try to add shared library to subdirectory. So I\n>made the following in my project (on master)\n>\n>git remote add git@bitbucket.org:ijin1984/groundwork.git\n>git fetch groundwork\n>git checkout ­b gwbranch groundwork/master\n>git checkout master\n>git read-tree --prefix=mb/trunk/src/ru.uralsib.dbo.client.iphone/libs/ -u\n>gwbranch\n>git commit ­m ³add groundwork to libs²\n>After that I make small change in one file inside libs (for example in\n>\"mb/trunk/src/ru.uralsib.dbo.client.iphone/libs/groundwork/notes.txt² and\n>commit with \n>git commit ­a ­m ³test commit²\n>\n>Then I made: \n>git checkout gwbranch\n>git merge --squash -s subtree --no-commit master\n>\n>And after this instead of merging I find the whole main project in subdir\n>³groundwork/Groundwork/Base.lproj².\n>\n>If I do the 5-th command with ‹prefix option value equal to for example\n>³libs² tether than something like ³subdir/subsubdir/Š/libs² - all works\n>fine.\n>\n>I think that it is bag, because I experimented quite a lot with deferrent\n>values. I think that problem in directory name with dots, i.e.\n>\"ru.uralsib.dbo.client.iphone².\n>\n>Could you please help me with this issue. If you need to add some more\n>info about this case I will provide.\n>\n>Thanks in advance.\n>\n>\n>Best regards, \n>Eugene Klishevich\n>iOS-developer\n>skype: eugene.klishevich\n>\n>\n>\n>\n\n"}]}