[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [p2-dev] Repository migration to Git - Today
|
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
<tjwatson@xxxxxxxxxx> 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
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
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 <aniefer@xxxxxxxxxx> wrote:
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
--
Paul Webster
Hi floor. Make me a sammich! - GIR