Skip to content
Newer
Older
100644 53 lines (48 sloc) 1.96 KB
3625f39 @nvie Make git-flow-version a first-class citizen amongst the other subcomm…
authored Jan 28, 2010
1 #
2 # git-flow -- A collection of Git extensions to provide high-level
3 # repository operations for Vincent Driessen's branching model.
4 #
5 # Original blog post presenting this model is found at:
ddb350b @nvie Change the URL of the original blog post.
authored Jul 9, 2010
6 # http://nvie.com/git-model
3625f39 @nvie Make git-flow-version a first-class citizen amongst the other subcomm…
authored Jan 27, 2010
7 #
8 # Feel free to contribute to this project at:
9 # http://github.com/nvie/gitflow
10 #
d72acba @nvie Added inline license terms to all source files.
authored Apr 4, 2010
11 # Copyright 2010 Vincent Driessen. All rights reserved.
31e637d @nvie Revert all whitespace changes.
authored Jan 2, 2012
12 #
d72acba @nvie Added inline license terms to all source files.
authored Apr 4, 2010
13 # Redistribution and use in source and binary forms, with or without
14 # modification, are permitted provided that the following conditions are met:
31e637d @nvie Revert all whitespace changes.
authored Jan 2, 2012
15 #
d72acba @nvie Added inline license terms to all source files.
authored Apr 4, 2010
16 # 1. Redistributions of source code must retain the above copyright notice,
17 # this list of conditions and the following disclaimer.
31e637d @nvie Revert all whitespace changes.
authored Jan 2, 2012
18 #
d72acba @nvie Added inline license terms to all source files.
authored Apr 4, 2010
19 # 2. Redistributions in binary form must reproduce the above copyright
20 # notice, this list of conditions and the following disclaimer in the
21 # documentation and/or other materials provided with the distribution.
31e637d @nvie Revert all whitespace changes.
authored Jan 2, 2012
22 #
d72acba @nvie Added inline license terms to all source files.
authored Apr 4, 2010
23 # THIS SOFTWARE IS PROVIDED BY VINCENT DRIESSEN ``AS IS'' AND ANY EXPRESS OR
24 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
25 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
26 # EVENT SHALL VINCENT DRIESSEN OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
28 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
30 # OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
32 # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31e637d @nvie Revert all whitespace changes.
authored Jan 2, 2012
33 #
d72acba @nvie Added inline license terms to all source files.
authored Apr 4, 2010
34 # The views and conclusions contained in the software and documentation are
35 # those of the authors and should not be interpreted as representing official
36 # policies, either expressed or implied, of Vincent Driessen.
3625f39 @nvie Make git-flow-version a first-class citizen amongst the other subcomm…
authored Jan 27, 2010
37 #
d72acba @nvie Added inline license terms to all source files.
authored Apr 4, 2010
38
14bcc58 @nvie Update the version number to distinguish HEAD from the released 0.4.1…
authored May 23, 2011
39 GITFLOW_VERSION=0.4.2-pre
3625f39 @nvie Make git-flow-version a first-class citizen amongst the other subcomm…
authored Jan 27, 2010
40
41 usage() {
42 echo "usage: git flow version"
43 }
44
b866b01 @nvie Give all subcommands an optional setup() function that will be called…
authored Jan 28, 2010
45 cmd_default() {
46 echo "$GITFLOW_VERSION"
47 }
48
3625f39 @nvie Make git-flow-version a first-class citizen amongst the other subcomm…
authored Jan 27, 2010
49 cmd_help() {
50 usage
51 exit 0
52 }
Something went wrong with that request. Please try again.