Git pulls to whatever branch that you have active..most likely 'master' if you haven't switched to another.
It 'should' only pull the active branch as well..unless you tell it to pull in a specific remote.
(EDIT: not 100% sure what gets caught in the cloning process..)
CMake doesn't 'talk' to git in such a way that it can determine what branch is active. It only takes into account what files are actually in the directory.
EDIT:
When you switch the active branch in git, files will be added/removed/altered to match the activating branch.
If files have been added/deleted, or if any CMake files have been altered, you will need to either:
1) delete your build folder and re-run CMake and select build options - or -
2) re-run CMake, clear its cache and select build options
This also applies to non-branch switching if any of those conditions apply.
- And don't forget to re-run shared_memory.exe regardless as there can be internal changes to the code as well
__________________
Uleat of Bertoxxulous
Compilin' Dirty
Last edited by Uleat; 02-11-2017 at 06:07 PM..
|