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 "$@"
|
||||
}
|
||||
function git_commit() {
|
||||
local all=auto push=auto nopush args
|
||||
local allnew all=auto push=auto nopush args
|
||||
normyesval nopush "$UTOOLS_NOPUSH"
|
||||
[ -n "$nopush" ] && push=
|
||||
parse_opts + "${PRETTYOPTS[@]}" \
|
||||
-A,--all-new allnew=1 \
|
||||
-a,--all all=1 \
|
||||
-c,--cached all= \
|
||||
-p,--push push=1 \
|
||||
|
@ -376,6 +377,11 @@ function git_commit() {
|
|||
return 1
|
||||
}
|
||||
|
||||
if [ -n "$allnew" ]; then
|
||||
git add -A
|
||||
all=
|
||||
fi
|
||||
|
||||
local message="$1"; shift
|
||||
local -a cmd
|
||||
cmd=(git commit)
|
||||
|
|
Loading…
Reference in New Issue