The other alternative is to introduce the .gitignore right from the beginning with filterbranch, which is what I did for eclipse.platform.runtime.git and eclipse.platform.ui.git:
From http://git.eclipse.org/c/e4/org.eclipse.migration.git/tree/scripts/migration_script.sh cat - >gitignore <<EOF bin/ *~ *.rej *.bak core *.patch javacore.* heapdump.* core.* Snap.* target/ EOF cd $REPO new_file=$(git hash-object -w ../gitignore) git filter-branch \ --index-filter \ 'git update-index --add --cacheinfo 100644 '"$new_file"' .gitignore' \ --tag-name-filter cat \ -- --all git reset --hard You only need one at the root of your repo. Then bundle qualifiers won't change. Later, PW On Thu, Jul 21, 2011 at 9:49 AM, Thomas Watson <[email protected]> wrote: > Notice that doing this rename will cause the tagging scripts to update the > map files with new tags which will cause new qualifiers to be used for any > project you did this to. > > Tom > > > > [image: Inactive hide details for John Arthorne ---07/21/2011 08:15:53 > AM---I also noticed our new repositories don't have .gitignore f]John > Arthorne ---07/21/2011 08:15:53 AM---I also noticed our new repositories > don't have .gitignore files. Be careful you don't accidentally commit any > binaries before t > > > From: > John Arthorne <[email protected]> > To: > P2 developer discussions <[email protected]> > Date: > 07/21/2011 08:15 AM > Subject: > Re: [p2-dev] Repository migration to Git - Today > ------------------------------ > > > > I also noticed our new repositories don't have .gitignore files. Be careful > you don't accidentally commit any binaries before this is fixed. I have > renamed .cvsignore to .gitignore for rt.equinox.p2 and > eclipse.platform.runtime repositories. > > John > > > On Tue, Jul 19, 2011 at 5:47 PM, Andrew Niefer > <*[email protected]*<[email protected]>> > wrote: > > The p2 cvs repository has now been converted to git. > > Read only access through > > git://*git.eclipse.org/gitroot/equinox/rt.equinox.p2.git*<http://git.eclipse.org/gitroot/equinox/rt.equinox.p2.git> > Write access through > > ssh://*git.eclipse.org/gitroot/equinox/rt.equinox.p2.git*<http://git.eclipse.org/gitroot/equinox/rt.equinox.p2.git> > > I have updated the map files in the releng project so that tonight's > N-Build will be built from git. > > Please see > *http://wiki.eclipse.org/Git#Committers_new_to_Git*<http://wiki.eclipse.org/Git#Committers_new_to_Git>for > information on how to get started with git. > > -Andrew > > From: DJ Houghton/Ottawa/IBM@IBMCA To: P2 developer discussions <* > [email protected]* <[email protected]>> Date: 07/19/2011 01:39 PM > Subject: [p2-dev] Repository migration to Git - Today Sent by: * > [email protected]* <[email protected]> > ------------------------------ > > > > > As discussed in the Equinox call last week, we are going to migrate the > p2 repository to git this afternoon. > Please refrain from releasing code to the CVS repo until we send a > message that the migration is complete. > Once the migration is complete the CVS repo will be considered > read-only and builds, etc will be done from the new git repo. > > Related/similar messages about the conversion of the rest of the > Equinox repositories can be found in the equinox-dev mailing list archives: > * > > **http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg06891.html*<http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg06891.html> > * > > **http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg06896.html*<http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg06896.html> > > > Thanks._______________________________________________ > p2-dev mailing list* > **[email protected]* <[email protected]>* > > **https://dev.eclipse.org/mailman/listinfo/p2-dev*<https://dev.eclipse.org/mailman/listinfo/p2-dev> > > > > _______________________________________________ > p2-dev mailing list* > **[email protected]* <[email protected]>* > > **https://dev.eclipse.org/mailman/listinfo/p2-dev*<https://dev.eclipse.org/mailman/listinfo/p2-dev> > > _______________________________________________ > p2-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/p2-dev > > > > _______________________________________________ > p2-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/p2-dev > > -- Paul Webster Hi floor. Make me a sammich! - GIR
_______________________________________________ p2-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/p2-dev
