{"thread":{"id":"8637","subject":"moving self contained subdirectories from a project to another","startedAt":"2007-06-18T12:24:25Z","lastAt":"2007-06-18T12:24:25Z","messageCount":1,"participants":["Luca Barbato"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"45265","messageId":"46767979.2030303@gentoo.org","threadId":"8637","inReplyTo":null,"subject":"moving self contained subdirectories from a project to another","fromName":"Luca Barbato","fromEmail":"lu_zero@gentoo.org","sentAt":"2007-06-18T12:24:25Z","receivedAt":"2007-06-18T12:24:25Z","isPatch":false,"sender":{"key":"lu_zero@gentoo.org","avatar":"https://gravatar.com/avatar/29ad2fe7ef1c53358431a9408ac02ccede899d70f67603601b133bee0a39549e?d=mp&s=160"},"body":"Lately I'm trying to move a subdirectory from one project to another,\nboth tracked in git.\n\nThis directory is currently duplicated in two different projects and my\nplan was to remove it from those and make a library so it could be\nshared between them.\n\nNow, the simple way would be get a scratchpad branch, prune everything\nbut what I want, push to the library repo, make the projects use it.\n\nThere is already a script that automates this task? There are any\npitfalls I'm not considering?\n\nlu\n\nPS: keep me on CC since I'm not subscribed\n\n-- \n\nLuca Barbato\n\nGentoo/linux Gentoo/PPC\nhttp://dev.gentoo.org/~lu_zero\n"}]}