File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,11 @@ function usage () {
77
77
echo " for each of the superproject itself and its submodules. The default is to"
78
78
echo " concatenate individual archives into one larger archive."
79
79
echo
80
+ echo " If '--tree-ish' is specified, the archive will be created based on whatever"
81
+ echo " you define the tree-ish to be. Branch names, commit hash, etc. are acceptable."
82
+ echo " Defaults to HEAD if not specified. See git archive's documentation for more"
83
+ echo " information on what a tree-ish is."
84
+ echo
80
85
echo " If 'output_file' is specified, the resulting archive is created as the"
81
86
echo " file named. This parameter is essentially a path that must be writeable."
82
87
echo " When combined with '--separate' ('-s') this path must refer to a directory."
@@ -133,6 +138,12 @@ while test $# -gt 0; do
133
138
SEPARATE=1
134
139
;;
135
140
141
+ --tree-ish | -t )
142
+ shift
143
+ TREEISH=" $1 "
144
+ shift
145
+ ;;
146
+
136
147
--version )
137
148
version
138
149
exit
You can’t perform that action at this time.
0 commit comments