ajout de l'option -A à pci
This commit is contained in:
parent
220ba12950
commit
d28559ba2b
|
@ -1 +1 @@
|
||||||
003006001
|
003007000
|
||||||
|
|
|
@ -363,10 +363,11 @@ function git_mkdir() {
|
||||||
git mkdir "$@"
|
git mkdir "$@"
|
||||||
}
|
}
|
||||||
function git_commit() {
|
function git_commit() {
|
||||||
local all=auto push=auto nopush args
|
local allnew all=auto push=auto nopush args
|
||||||
normyesval nopush "$UTOOLS_NOPUSH"
|
normyesval nopush "$UTOOLS_NOPUSH"
|
||||||
[ -n "$nopush" ] && push=
|
[ -n "$nopush" ] && push=
|
||||||
parse_opts + "${PRETTYOPTS[@]}" \
|
parse_opts + "${PRETTYOPTS[@]}" \
|
||||||
|
-A,--all-new allnew=1 \
|
||||||
-a,--all all=1 \
|
-a,--all all=1 \
|
||||||
-c,--cached all= \
|
-c,--cached all= \
|
||||||
-p,--push push=1 \
|
-p,--push push=1 \
|
||||||
|
@ -376,6 +377,11 @@ function git_commit() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ -n "$allnew" ]; then
|
||||||
|
git add -A
|
||||||
|
all=
|
||||||
|
fi
|
||||||
|
|
||||||
local message="$1"; shift
|
local message="$1"; shift
|
||||||
local -a cmd
|
local -a cmd
|
||||||
cmd=(git commit)
|
cmd=(git commit)
|
||||||
|
|
Loading…
Reference in New Issue