Changes between Version 39 and Version 40 of SourceCodeGit
- Timestamp:
- Feb 10, 2014, 12:05:05 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SourceCodeGit
v39 v40 49 49 The 'clone' operation pulls down ~134 MiB of source and gives you a copy that you can modify and compile locally. However, you will not be able to push changes to the BOINC repository. For write access, see further below. 50 50 51 Change to the directory 'boinc_repo'. Here you find the files corresponding to the 'remote master branch', the bleeding edge of development. 52 53 Run `git status` to show that this is actually true: 51 Change to the directory 'boinc_repo'. Here you find the files corresponding to the HEAD of the 'remote master branch', the bleeding edge of development. The fully navigable development history of the project can be found in the 'boinc_repo/.git' subdirectory. 52 53 You can replace the files on your 'master branch' by files from older branches or older tags using the appropriate git command - without 54 needing to contact the Git repository server again as all the history can be found under 'boinc_repo/.git'. This is called 'checking out'. 55 56 Run `git status` to see whether there are any changes relative to the HEAD of the 'remote master branch': 54 57 55 58 {{{ … … 59 62 # On branch master 60 63 nothing to commit, working directory clean 61 62 # What's the most recent tag for the currently checked-out version? 63 $ git describe --always --tag 64 client_release/7.2/7.2.9 65 }}} 66 67 The fully navigable development history of the project can be found in the 'boinc_repo/.git' subdirectory. 68 69 You can replace the files on your 'master branch' by files from older branches or older tags using the appropriate git command - without 70 needing to contact the Git repository server again as all the history can be found under 'boinc_repo/.git'. This is called 'checking out'. 64 }}} 71 65 72 66 == Tags & Branches == … … 133 127 === Development on the bleeding edge === 134 128 135 If you want to work on the remote 'master' branch, check it out locally:129 If you want to work on the HEAD of the 'remote master branch', check it out locally: 136 130 137 131 {{{ … … 141 135 Actually this has already happened when you cloned the repository, so the above command is mainly useful if you want to go back to the remote master branch after you modified some files in a hasty fashion. 142 136 137 What is the absolutely latest tag issued? 138 139 {{{ 140 $ git describe --tags `git rev-list --tags --max-count=1` 141 client_release/7.2/7.2.41 142 }}} 143 144 What's the most recent tag for the currently checked-out version? 145 146 {{{ 147 $ git describe --always --tag 148 client_release/7.2/7.2.4-2866-g6ff59ea 149 }}} 150 151 This means that the HEAD is based on 'client_release/7.2/7.2.4', with 2866 commits on top (I think). 152 153 What are the differences between the HEAD and the latest tag issued? 154 155 {{{ 156 $ git diff HEAD client_release/7.2/7.2.41 | wc -l 157 271949 158 }}} 159 160 271949 lines have differences. Not bad. 161 162 You may want to see the differences to file 'version.h': 163 164 {{{ 165 $ git diff HEAD client_release/7.2/7.2.41 version.h | grep BOINC_VERSION_STRING 166 -#define BOINC_VERSION_STRING "7.3.0" 167 +#define BOINC_VERSION_STRING "7.2.41" 168 }}} 169 170 Looks like the HEAD is an as-yet-untagged 7.3.0. The choice is yours ... what do you want to compile? You probably want something more stable. 171 143 172 === Check out a specific tag for compilation === 144 173 … … 149 178 git tag 150 179 }}} 151 to list all the visible tags. Note that the tags come in '''lexicographical order''', not in '''version order'''! 152 153 If you want to sort them by version number: 180 181 to list all the visible tags. Note that the tags come in '''lexicographical order''', not in '''version order'''! If you want to sort them by version number: 154 182 155 183 {{{