ajout de l'option -A à pci

This commit is contained in:
Jephté Clain 2014-10-11 09:39:50 +04:00
parent 220ba12950
commit d28559ba2b
2 changed files with 8 additions and 2 deletions

View File

@ -1 +1 @@
003006001
003007000

View File

@ -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)