> > ---------- Messaggio inoltrato ---------- > From: Yuen Hoe Lim <yuenho...@gmail.com> > To: plasma-devel@kde.org > Date: Mon, 25 Jan 2010 14:06:53 +0800 > Subject: Re: Subject: Re: On Plasmate's recent project list > There is also another problem and it still can get sticky :) When importing > a 'project group' tarball, what happens when there are project folders with > the same name in the target drive? It doesn't make sense to force an > overwrite, so we'll need to seamlessly rename the folders underneath (the > user isn't aware of project folder names, so we can name them whatever we > want as long as it avoids conflict). Now, renaming the folder will have > implications for the git repository right...? Or am I just being > overparanoid again :) >
Don't worry, git doesn't complain if you rename the root folder :) That's because git doesn't save a reference to the root project directory, but it refers to the .git/ containing folder. This sounds pretty the same, but referring the .git/ parent dir allows you to rename it as you wish, without worrying about the name. > ---- > Jason "moofang" Lim Yuen Hoe > http://yuenhoe.co.cc/ > > > On Sun, Jan 24, 2010 at 9:58 PM, Shantanu Tushar Jha > <jhahon...@gmail.com>wrote: > >> On 1/24/10, Yuen Hoe Lim <yuenho...@gmail.com> wrote: >> >> >> >> Uhm I dont get your concern; if you tar all the plasmate project >> directory >> >> for example, and then untar it, you also tar each git project history >> >> (because every project has its own local git repo). Thus, when >> untar-ing, >> >> you'll get both your projetc files and git repo for free :) >> >> >> > >> > Really? That's why I said I don't know much about git. So the git local >> > repository is wholly contained in the folders themselves? That'll make >> > things a lot simpler. Does that also mean that if I just delete the >> project >> > folder the git repository goes down with it? :) >> >> Yep, even I was wondering why you were saying that. The whole git repo >> info, the packs etc are there in .git. So, AFAIK, just saving the >> contents will do. >> I can implement this "backup-n-restore" thing once you're done with >> the "More Projects" option :) >> >> > >> > >> >> yes sir ! >> >> >> > >> > xD >> > >> > ---- >> > Jason "moofang" Lim Yuen Hoe >> > http://yuenhoe.co.cc/ >> > >> >> >> -- >> Shantanu Tushar (UTC +0530) >> http://www.shantanutushar.com >> _______________________________________________ >> Plasma-devel mailing list >> Plasma-devel@kde.org >> https://mail.kde.org/mailman/listinfo/plasma-devel >> >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel