diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-11 13:48:38 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-11 13:48:38 +0300 |
commit | 4f08d452b65baa488f522546e666ad0721bd3f26 (patch) | |
tree | 292c11e7b7fa7a4ca1f7b3083b90959313d99c2b /tools/build_scripts/git_update.bat | |
parent | 5e9e97571ebf41809724119a767e07995928ede0 (diff) |
adapting build scripts for building Miranda from different branches
Diffstat (limited to 'tools/build_scripts/git_update.bat')
-rw-r--r-- | tools/build_scripts/git_update.bat | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/build_scripts/git_update.bat b/tools/build_scripts/git_update.bat index 5d121ead94..e0292027fd 100644 --- a/tools/build_scripts/git_update.bat +++ b/tools/build_scripts/git_update.bat @@ -1,3 +1,10 @@ +if "%1" == "" ( + echo Branch should be specified in the first parameter + exit 1 +) + +git checkout %1 + git reset --hard git pull --rebase=true --progress -v 2>&1 > update.log |