-----Original Message----- From: Dima Kogan

[email protected] writes:

I'm not sure how to grab the relevant source to test. Is is just a
matter of doing a normal 'git pull' ?

You want to check out a specific branch. Maybe you can do it with 'git
pull'. I usually work more explicitly:

1. git fetch
2. git checkout -b test_flexible_array origin/test_flexible_array

Ok - I can do that:

################################
sisyphus@Owner-PC311012 ~/git/pdl-code
$ git fetch
Password:
remote: Counting objects: 76, done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 62 (delta 48), reused 0 (delta 0)
Unpacking objects: 100% (62/62), done.
From ssh://git.code.sf.net/p/pdl/code
  46468fb..ed50f5c  master     -> origin/master
* [new branch]      fix-test-for-late-gcc -> origin/fix-test-for-late-gcc
* [new branch]      test_flexible_array -> origin/test_flexible_array

sisyphus@Owner-PC311012 ~/git/pdl-code
$ git checkout -b test_flexible_array origin/test_flexible_array
Branch test_flexible_array set up to track remote branch test_flexible_array from origin.
Switched to a new branch 'test_flexible_array'

sisyphus@Owner-PC311012 ~/git/pdl-code
#######################################

Then what ?
I can now copy the pdl-code directory to some location (like I normally do), 'cd' to that location and start building the source ('perl Makefile.PL', 'nmake test') - but will that use the code that's in the test_flexible_array branch ?

In fact, I've just created such a copy, and it seems to be going fine with MSVC++ 6.0 on various builds of ActivePerl - but I've absolutely no idea whether it's compiling the code we want to check.

Cheers,
Rob


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to